]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/io_priority: include <errno.h> on osx
authorKefu Chai <kchai@redhat.com>
Sat, 9 Sep 2017 13:45:44 +0000 (21:45 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 16 Sep 2017 02:43:32 +0000 (10:43 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/io_priority.cc

index c635555ad682dc6534bafd241ba6939fbc67e665..3e9712508c992b9a51125e06c64d69db30a6c529 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include <unistd.h>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__APPLE__)
 #include <errno.h>
 #endif
 #ifdef __linux__