summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/drm/xf86drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/drm/xf86drm.c')
-rw-r--r--hw/xfree86/os-support/drm/xf86drm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/xfree86/os-support/drm/xf86drm.c b/hw/xfree86/os-support/drm/xf86drm.c
index e79794b3f..1082f225a 100644
--- a/hw/xfree86/os-support/drm/xf86drm.c
+++ b/hw/xfree86/os-support/drm/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