To compile ccan under DragonFly BSD some additional includes are required.
[ccan] / ccan / iscsi / socket.c
index ce3526e1e12945b997b86716f943d9e69f7bb38b..17c6ffee3b0370af99997fd127459b0fc8a51796 100644 (file)
@@ -25,6 +25,8 @@
 #include <netinet/in.h>
 #include <poll.h>
 #include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <arpa/inet.h>
 #include "iscsi.h"
 #include "iscsi-private.h"