summaryrefslogtreecommitdiff
path: root/ashmemtest-basic/ashmemtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'ashmemtest-basic/ashmemtest.c')
-rw-r--r--ashmemtest-basic/ashmemtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ashmemtest-basic/ashmemtest.c b/ashmemtest-basic/ashmemtest.c
index 6142fff..3958217 100644
--- a/ashmemtest-basic/ashmemtest.c
+++ b/ashmemtest-basic/ashmemtest.c
@@ -42,12 +42,14 @@
#define DEFAULT_PROT_MASK (PROT_READ | PROT_WRITE | PROT_EXEC)
#ifndef _LINUX_ASHMEM_H
+#ifndef _UAPI_LINUX_ASHMEM_H
/* only if not defined already */
struct ashmem_pin {
uint32_t offset;
uint32_t len;
};
#endif
+#endif
/* current test run */
int testno = -1;