Commit 418cb412 authored by Andreas Schlick's avatar Andreas Schlick Committed by Rusty Russell

To compile ccan under DragonFly BSD some additional includes are required.

parent e8c85e38
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <signal.h>
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <err.h> #include <err.h>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <signal.h>
#include <assert.h> #include <assert.h>
#include <ccan/read_write_all/read_write_all.h> #include <ccan/read_write_all/read_write_all.h>
#include <ccan/failtest/failtest_proto.h> #include <ccan/failtest/failtest_proto.h>
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <poll.h> #include <poll.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include "iscsi.h" #include "iscsi.h"
#include "iscsi-private.h" #include "iscsi-private.h"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <stdbool.h> #include <stdbool.h>
#include <netinet/in.h>
struct addrinfo *net_client_lookup(const char *hostname, struct addrinfo *net_client_lookup(const char *hostname,
const char *service, const char *service,
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <err.h> #include <err.h>
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <signal.h>
#include "tools.h" #include "tools.h"
static const char *tmpdir = NULL; static const char *tmpdir = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment