]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Don't use __cplusplus to mean !__KERNEL__
authorMatt Benjamin <matt@linuxbox.com>
Mon, 23 Jun 2014 23:35:57 +0000 (19:35 -0400)
committerMatt Benjamin <matt@cohortfs.com>
Wed, 14 Jan 2015 21:39:50 +0000 (16:39 -0500)
Of course, this is Linux-centric.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
src/include/msgr.h

index a1ad993ac8bef045e8ef43be46abb6ce0e99fae0..ac98344a2cdd99e6b2ab9fb4735ba83cf764354c 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef CEPH_MSGR_H
 #define CEPH_MSGR_H
 
-#ifdef __cplusplus
+#ifndef __KERNEL__
 #include <sys/socket.h> // for struct sockaddr_storage
 #endif