summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdrm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm.h b/libdrm.h
index acfada5c..6c3cd594 100644
--- a/libdrm.h
+++ b/libdrm.h
@@ -45,7 +45,7 @@
#include <sys/mman.h>
-#if defined(ANDROID)
+#if defined(ANDROID) && !defined(__LP64__)
#include <errno.h> /* for EINVAL */
extern void *__mmap2(void *, size_t, int, int, int, size_t);