Add support for Android
[fio.git] / init.c
diff --git a/init.c b/init.c
index 70217418ce5f75df75bc88a0cec2d7223a5d7183..29a50f22acde170f54258b72340162b622adebba 100644 (file)
--- a/init.c
+++ b/init.c
@@ -9,7 +9,9 @@
 #include <string.h>
 #include <errno.h>
 #include <sys/ipc.h>
+#ifndef FIO_NO_HAVE_SHM_H
 #include <sys/shm.h>
+#endif
 #include <sys/types.h>
 #include <sys/stat.h>