diff options
author | Adam Jackson <ajax@nwnk.net> | 2004-08-11 23:23:35 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2004-08-11 23:23:35 +0000 |
commit | fd62869a0f600f2fd477d5aa365f7732686f5542 (patch) | |
tree | 5ece6790029fef1adcc39ed98c423762014c1cd6 /libdrm | |
parent | ecf1458b2ce431227807b07844b44e8c9171636d (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')
-rw-r--r-- | libdrm/xf86drm.c | 4 |
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. |