summaryrefslogtreecommitdiff
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
parent0813760110535d8989af187d23b4eedc4c6b225f (diff)
finish struct stat type cleanup Fix a build dependencies for the tdfx drm
module
-rw-r--r--libdrm/xf86drm.c6
-rw-r--r--linux/Makefile.linux2
2 files changed, 2 insertions, 6 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;
diff --git a/linux/Makefile.linux b/linux/Makefile.linux
index 8df1f747..0e34d426 100644
--- a/linux/Makefile.linux
+++ b/linux/Makefile.linux
@@ -59,7 +59,7 @@ GAMMAOBJS = gamma_drv.o gamma_dma.o
GAMMAHEADERS = gamma_drv.h $(DRMHEADERS) $(DRMTEMPLATES)
TDFXOBJS = tdfx_drv.o
-TDFXHEADERS = tdfx.h $(DRMHEADERS)
+TDFXHEADERS = tdfx.h $(DRMHEADERS) $(DRMTEMPLATES)
R128OBJS = r128_drv.o r128_cce.o r128_state.o
R128HEADERS = r128.h r128_drv.h r128_drm.h $(DRMHEADERS) $(DRMTEMPLATES)