diff --git a/libc/include/unistd.h b/libc/include/unistd.h index ab8108a59..4e7d8bace 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -209,7 +209,7 @@ int acct(const char* __filepath); #if __ANDROID_API__ >= 21 int getpagesize(void) __INTRODUCED_IN(21); #else -__inline__ int getpagesize(void) { +static __inline__ int getpagesize(void) { return sysconf(_SC_PAGESIZE); } #endif