link: fixed to include <sys/types.h> for caddr_t
commitca59ce0c7f93f561f137949711221df4f30deba6
authorChristian Wiese <chris@opensde.org>
Thu, 10 Apr 2014 09:47:00 +0000 (10 11:47 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Thu, 10 Apr 2014 11:14:49 +0000 (10 13:14 +0200)
treeb682cc1e32e274b4ba1774d58c99e254c4f98609
parent47b3d6c254ca31dc57af4a1a17526e1dc593702a
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>
link.c