vlc | branch: master | David Fuhrmann <[email protected]> | Mon Sep 8 19:34:36 2014 +0200| [e9701c69f08bf0ecd732d56490928dbe869c35ed] | committer: David Fuhrmann
configure.ac: fix check for net/if.h on osx > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9701c69f08bf0ecd732d56490928dbe869c35ed --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 072ac34..d3d5517 100644 --- a/configure.ac +++ b/configure.ac @@ -754,7 +754,12 @@ AC_SUBST(LIBPTHREAD) dnl Check for headers dnl POSIX -AC_CHECK_HEADERS([arpa/inet.h net/if.h pthread.h search.h syslog.h sys/shm.h]) +AC_CHECK_HEADERS([arpa/inet.h pthread.h search.h syslog.h sys/shm.h sys/socket.h]) +AC_CHECK_HEADERS([net/if.h], [], [], +[ +#include <sys/types.h> +#include <sys/socket.h> +]) dnl BSD AC_CHECK_HEADERS([netinet/udplite.h sys/param.h sys/mount.h]) dnl GNU/Linux _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
