[vlc-devel] commit: OpenBSD needs sys/types.h for net/if.h ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Apr 21 20:28:45 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 21 21:24:41 2009 +0300| [1bf7f3bd8438e5163035d6401f7ef41f17e5e4be] | committer: Rémi Denis-Courmont 

OpenBSD needs sys/types.h for net/if.h

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1bf7f3bd8438e5163035d6401f7ef41f17e5e4be
---

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index af49d08..76bbac2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -869,6 +869,7 @@ AC_CHECK_HEADERS(fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat
 AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
 AC_CHECK_HEADERS([net/if.h], [], [],
   [
+    #include <sys/types.h>
     #include <sys/socket.h>
   ])
 if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then




More information about the vlc-devel mailing list