Get default entity ID determination working on Linux again
authorRussell Bryant <russell@russellbryant.com>
Thu, 12 Jun 2008 17:38:27 +0000 (17:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 12 Jun 2008 17:38:27 +0000 (17:38 +0000)
(closes issue #12839)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/network.h

index 00aebe4..3371e58 100644 (file)
@@ -45,6 +45,8 @@ extern "C" {
 #include <netinet/tcp.h>
 #include <netdb.h>
 #include <sys/socket.h>
+#include <net/if.h>
+#include <sys/ioctl.h>
 #elif defined(HAVE_WINSOCK_H)
 #include <winsock.h>
 typedef int socklen_t;