Make OpenBSD compile again

(reported by mvanbaak via IRC -dev)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-06-19 20:25:37 +00:00
parent b4574d2a79
commit 27be0a3197

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"