projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add check for invariant TSC on x86 and use TSC is default clock if reliable
[fio.git]
/
memory.c
diff --git
a/memory.c
b/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"