Make OpenBSD compile again
(reported by mvanbaak via IRC -dev) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124102 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
6b2f0f5e72
commit
a4dabc8527
|
@ -29,8 +29,14 @@
|
||||||
|
|
||||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
|
|
||||||
|
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__)
|
||||||
|
#include <net/if_dl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (SOLARIS)
|
#if defined (SOLARIS)
|
||||||
#include <sys/sockio.h>
|
#include <sys/sockio.h>
|
||||||
|
#elif defined(HAVE_GETIFADDRS)
|
||||||
|
#include <ifaddrs.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "asterisk/netsock.h"
|
#include "asterisk/netsock.h"
|
||||||
|
|
Reference in New Issue