]> 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>
Thu, 24 Oct 2019 20:17:11 +0000 (22:17 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
(cherry picked from commit 8124a306ab4093c46354d68be6b82f4c06e7fbac)

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>