Skip to content

Commit a3cf825

Browse files
Adding shims directory for android to fix the directory structure gap.
`syscall.h` and `sys/sysctl.h` are in different locations in Android. Adding this directory as a parameter when compiling for android fixes this issue. (`-Isrc/shims/android`)
1 parent b5b3614 commit a3cf825

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/shims/android/sys/sysctl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include <linux/sysctl.h>

src/shims/android/syscall.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#import <sys/syscall.h>

0 commit comments

Comments
 (0)