]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/fs: Only use features.h on Linux
authorWillem Jan Withagen <wjw@digiware.nl>
Sat, 21 Sep 2019 12:39:10 +0000 (14:39 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 27 Sep 2019 19:59:08 +0000 (21:59 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/fs/test_trim_caps.cc

index 42ba357a019adafd58cae658e1f4ddb2deb3ddf4..11acabb0a585677122af5be630d2428858810984 100644 (file)
@@ -1,5 +1,7 @@
 #define _FILE_OFFSET_BITS 64
+#if defined(__linux__)
 #include <features.h>
+#endif
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>