From: Willem Jan Withagen Date: Sat, 21 Sep 2019 12:39:10 +0000 (+0200) Subject: test/fs: Only use features.h on Linux X-Git-Tag: v14.2.5~37^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ecf7dddfd4701e3634f0131b7edc92457aef4655;p=ceph.git test/fs: Only use features.h on Linux Signed-off-by: Willem Jan Withagen (cherry picked from commit 8124a306ab4093c46354d68be6b82f4c06e7fbac) --- diff --git a/src/test/fs/test_trim_caps.cc b/src/test/fs/test_trim_caps.cc index 42ba357a019..11acabb0a58 100644 --- a/src/test/fs/test_trim_caps.cc +++ b/src/test/fs/test_trim_caps.cc @@ -1,5 +1,7 @@ #define _FILE_OFFSET_BITS 64 +#if defined(__linux__) #include +#endif #include #include #include