mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user