X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fiscsi%2Fsocket.c;h=f79b31692b764dffb3e5136e1a1fb504a15c3c30;hb=6569a707d169a629e25e10710c760c8dc84525c7;hp=17c6ffee3b0370af99997fd127459b0fc8a51796;hpb=418cb41273ba4b8bcb07a7b310605107e35bf525;p=ccan diff --git a/ccan/iscsi/socket.c b/ccan/iscsi/socket.c index 17c6ffee..f79b3169 100644 --- a/ccan/iscsi/socket.c +++ b/ccan/iscsi/socket.c @@ -15,6 +15,7 @@ along with this program; if not, see . */ +#include "config.h" #include #include #include @@ -31,6 +32,9 @@ #include "iscsi.h" #include "iscsi-private.h" #include "dlinklist.h" +#if HAVE_SYS_FILIO_H +#include +#endif static void set_nonblocking(int fd) {