summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/rand_xor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/rand_xor.c b/src/util/rand_xor.c
index de05fa64b3c..de04bbc284f 100644
--- a/src/util/rand_xor.c
+++ b/src/util/rand_xor.c
@@ -25,6 +25,7 @@
#if defined(__linux__)
#include <sys/file.h>
#include <unistd.h>
+#include <fcntl.h>
#else
#include <time.h>
#endif