From 9c775d0b2f303389c24aea5e8abc1473f0cf93e8 Mon Sep 17 00:00:00 2001 From: David Dawes Date: Mon, 14 May 2001 14:49:58 +0000 Subject: finish struct stat type cleanup Fix a build dependencies for the tdfx drm module --- libdrm/xf86drm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libdrm') diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index 5f757455..b798da68 100644 --- a/libdrm/xf86drm.c +++ b/libdrm/xf86drm.c @@ -171,11 +171,7 @@ static drmHashEntry *drmGetEntry(int fd) static int drmOpenDevice(long dev, int minor) { -#ifdef XFree86LOADER - struct xf86stat st; -#else - struct stat st; -#endif + stat_t st; char buf[64]; int fd; mode_t dirmode = DRM_DEV_DIRMODE; -- cgit v1.2.3