diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-05-17 03:00:59 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-05-17 03:00:59 +0800 |
commit | 9ed7090009874109914406cfefb9fd5deee44949 (patch) | |
tree | 56c68f39042da20dbb5f8dda57f81e8268612154 /ashmemtest-basic | |
parent | cfee685cca056e8f21892d3f6209f5fd6dbbbcf7 (diff) | |
download | linaro-android-kernel-test-9ed7090009874109914406cfefb9fd5deee44949.tar.gz |
evdev and logger: fix compiling errors
fix compiling errors when use LSK and latest AOSP master branch
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'ashmemtest-basic')
-rw-r--r-- | ashmemtest-basic/ashmemtest.c | 2 |
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; |