dect
/
asterisk
Archived
13
0
Fork 0

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:
tilghman 2008-06-19 20:25:37 +00:00
parent 6b2f0f5e72
commit a4dabc8527
1 changed files with 6 additions and 0 deletions

View File

@ -29,8 +29,14 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__)
#include <net/if_dl.h>
#endif
#if defined (SOLARIS)
#include <sys/sockio.h>
#elif defined(HAVE_GETIFADDRS)
#include <ifaddrs.h>
#endif
#include "asterisk/netsock.h"