summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdrm/xf86drm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index e79794b3..1082f225 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -63,9 +63,8 @@
# define _DRM_MALLOC malloc
# define _DRM_FREE free
# else
-# include <X11/Xlibint.h>
-# define _DRM_MALLOC Xmalloc
-# define _DRM_FREE Xfree
+# define _DRM_MALLOC malloc
+# define _DRM_FREE free
# endif
# include "drm.h"
#endif