From 54f99f73d8f744c4558645906c99cbab480f5b8c Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 17 Nov 2007 10:27:34 +0000 Subject: Ticket #414: Implement IP interface enumeration on Linux/Unix with SIOCGIFCONF ioctl() call to a socket git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1584 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/socket.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pjlib/include/pj/compat/socket.h') diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h index 40c03455..7cc0d654 100644 --- a/pjlib/include/pj/compat/socket.h +++ b/pjlib/include/pj/compat/socket.h @@ -57,6 +57,11 @@ # include #endif +#if defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 +/* For interface enumeration in ip_helper */ +# include +#endif + #if defined(PJ_HAS_ARPA_INET_H) && PJ_HAS_ARPA_INET_H != 0 # include #endif -- cgit v1.2.3