summaryrefslogtreecommitdiff
path: root/libdrm/xf86drm.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2004-08-11 23:23:35 +0000
committerAdam Jackson <ajax@nwnk.net>2004-08-11 23:23:35 +0000
commitfd62869a0f600f2fd477d5aa365f7732686f5542 (patch)
tree5ece6790029fef1adcc39ed98c423762014c1cd6 /libdrm/xf86drm.c
parentecf1458b2ce431227807b07844b44e8c9171636d (diff)
Bug #979: Don't include <sys/sysmacros.h> on linux, it occasionally emits
makedev() as a function call that elfloader can't resolve. Originally Gentoo Bug #41962, reported by Ryan Breen, fix feedback from Ryan Lortie.
Diffstat (limited to 'libdrm/xf86drm.c')
-rw-r--r--libdrm/xf86drm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 2b0b1b9c..251bbcea 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -106,10 +106,6 @@ extern unsigned long _bus_base(void);
#define DRM_MAX_MINOR 16
#endif
-#ifdef __linux__
-#include <sys/sysmacros.h> /* for makedev() */
-#endif
-
#ifndef makedev
/* This definition needs to be changed on
some systems if dev_t is a structure.