projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Conditionally include <sys/shm.h> based on OS support. Define missing MAP_HUGETLB...
[fio.git]
/
memory.c
diff --git
a/memory.c
b/memory.c
index ee5f895d2b0b0f88e6bd50a2a2a50149c45591fd..443d71d4bbda3de4c2771c055c77abdd49442954 100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-5,12
+5,12
@@
#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"
+#ifndef FIO_NO_HAVE_SHM_H
+#include <sys/shm.h>
+#endif
static void *pinned_mem;