summaryrefslogtreecommitdiff
path: root/tests/fcntl_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fcntl_test.cpp')
-rw-r--r--tests/fcntl_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fcntl_test.cpp b/tests/fcntl_test.cpp
index a8a4cc545..d50a438a7 100644
--- a/tests/fcntl_test.cpp
+++ b/tests/fcntl_test.cpp
@@ -28,6 +28,8 @@
// Glibc v2.19 doesn't include these in fcntl.h so host builds will fail without.
#if !defined(FALLOC_FL_PUNCH_HOLE) || !defined(FALLOC_FL_KEEP_SIZE)
#include <linux/falloc.h>
+#endif
+#if !defined(EXT4_SUPER_MAGIC)
#include <linux/magic.h>
#endif