aboutsummaryrefslogtreecommitdiff
path: root/libdrm/xf86drm.c
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2001-05-14 14:49:58 +0000
committerDavid Dawes <dawes@xfree86.org>2001-05-14 14:49:58 +0000
commit9c775d0b2f303389c24aea5e8abc1473f0cf93e8 (patch)
tree7098f0dc535e6c265f882be3295b4e1fcedc549a /libdrm/xf86drm.c
parent0813760110535d8989af187d23b4eedc4c6b225f (diff)
finish struct stat type cleanup Fix a build dependencies for the tdfx drm
module
Diffstat (limited to 'libdrm/xf86drm.c')
-rw-r--r--libdrm/xf86drm.c6
1 files changed, 1 insertions, 5 deletions
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;