implement get_cpu_clock() for s390/s390x
[fio.git] / memory.c
index b4ee4752487129be62d98a126d305c62fb1c0b0d..4a9dc4af212d05feee7b360c9fd6dd08ea6200f4 100644 (file)
--- a/memory.c
+++ b/memory.c
@@ -5,7 +5,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+#ifndef FIO_NO_HAVE_SHM_H
 #include <sys/shm.h>
+#endif
 #include <sys/mman.h>
 
 #include "fio.h"