From 0bd1264faf928081ea2df67f4c54b5794ae82a79 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Fri, 17 Apr 2020 14:30:36 +0200 Subject: headers for clang-tidy --- include/android-ashmem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/android-ashmem.h') diff --git a/include/android-ashmem.h b/include/android-ashmem.h index 3a0b9969..6fdcb1ba 100644 --- a/include/android-ashmem.h +++ b/include/android-ashmem.h @@ -26,6 +26,8 @@ #ifndef _ANDROID_ASHMEM_H #define _ANDROID_ASHMEM_H +#ifdef __ANDROID__ + #include #include #include @@ -103,5 +105,7 @@ static inline void *shmat(int __shmid, const void *__shmaddr, int __shmflg) { } +#endif /* __ANDROID__ */ + #endif -- cgit 1.4.1