[PATCH] Android: Always #include <sys/...>, not <linux/...>

Elliott Hughes enh
Fri Jul 18 17:45:49 PDT 2014


Change-Id: I8c7f4b31ac828eb9cdb698e38a04256b8c3fc88c
Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
 src/utils/os_unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/os_unix.c b/src/utils/os_unix.c
index d3860ae..7498967 100644
--- a/src/utils/os_unix.c
+++ b/src/utils/os_unix.c
@@ -12,7 +12,7 @@
 
 #ifdef ANDROID
 #include <sys/capability.h>
-#include <linux/prctl.h>
+#include <sys/prctl.h>
 #include <private/android_filesystem_config.h>
 #endif /* ANDROID */
 
-- 
2.0.0.526.g5318336




More information about the Hostap mailing list