summaryrefslogtreecommitdiff
path: root/link.c
diff options
context:
space:
mode:
authorChristian Wiese <chris@opensde.org>2014-04-10 11:47:00 +0200
committerDaniel Borkmann <dborkman@redhat.com>2014-04-10 13:14:49 +0200
commitca59ce0c7f93f561f137949711221df4f30deba6 (patch)
treeb682cc1e32e274b4ba1774d58c99e254c4f98609 /link.c
parent47b3d6c254ca31dc57af4a1a17526e1dc593702a (diff)
link: fixed to include <sys/types.h> for caddr_t
When building against musl libc compiling bails out because of caddr_t not being declared: -------------------------------------------------------------------------- link.c: In function 'wireless_sigqual': link.c:41:24: error: 'caddr_t' undeclared (first use in this function) -------------------------------------------------------------------------- As caddr_t is declared in <sys/types.h> this header needs to be included. Signed-off-by: Christian Wiese <chris@opensde.org> Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'link.c')
-rw-r--r--link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/link.c b/link.c
index eb3ba18..56b839b 100644
--- a/link.c
+++ b/link.c
@@ -1,3 +1,4 @@
+#include <sys/types.h>
#include <sys/ioctl.h>
#include <linux/sockios.h>
#include <unistd.h>