]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
libcephfs.h: Features is a Linux only include file.
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 18 May 2016 12:02:33 +0000 (14:02 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 25 May 2016 10:13:00 +0000 (12:13 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/include/cephfs/libcephfs.h

index 8b12c7a2ad5237d15587e9a4df5878f4b5ee9a64..8f0f5f210e1f5b2077b7677460793df7fff73af8 100644 (file)
@@ -15,7 +15,9 @@
 #ifndef CEPH_LIB_H
 #define CEPH_LIB_H
 
+#if defined(__linux__)
 #include <features.h>
+#endif
 #include <utime.h>
 #include <sys/stat.h>
 #include <sys/types.h>