]> git.wh0rd.org - home.git/blobdiff - test.c
cros-board: update
[home.git] / test.c
diff --git a/test.c b/test.c
index e58a769f0ae68bcd04689fe6ea1287205af4b742..4956067d1665a60929f6672d1f98225d43cb882a 100644 (file)
--- a/test.c
+++ b/test.c
 #include <fcntl.h>
 #include <float.h>
 #include <getopt.h>
+#include <grp.h>
 #include <inttypes.h>
 #include <langinfo.h>
 #include <limits.h>
 #include <locale.h>
 #include <pthread.h>
+#include <pwd.h>
 #include <regex.h>
 #include <signal.h>
 #include <stdarg.h>
@@ -35,6 +37,7 @@
 #include <arpa/inet.h>
 #include <netinet/in.h>
 
+#ifdef __linux__
 #include <sys/auxv.h>
 #include <sys/epoll.h>
 #include <sys/mman.h>
@@ -48,6 +51,7 @@
 #include <sys/types.h>
 #include <sys/un.h>
 #include <sys/wait.h>
+#endif
 
 #if defined(__i386__) || defined(__x86_64__)
 #include <cpuid.h>