summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 2eed8eb4..74b6aa43 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -59,13 +59,8 @@
# include <sys/mman.h>
# include <sys/time.h>
# include <stdarg.h>
-# ifdef DRM_USE_MALLOC
-# define _DRM_MALLOC malloc
-# define _DRM_FREE free
-# else
-# define _DRM_MALLOC malloc
-# define _DRM_FREE free
-# endif
+# define _DRM_MALLOC malloc
+# define _DRM_FREE free
# include "drm.h"
#endif