summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)