]> git.sesse.net Git - vlc/commitdiff
* Include <sys/socket.h> if the system has it (should fix compilation on OSX/cygwin).
authorBenjamin Pracht <bigben@videolan.org>
Sat, 2 Jul 2005 15:39:21 +0000 (15:39 +0000)
committerBenjamin Pracht <bigben@videolan.org>
Sat, 2 Jul 2005 15:39:21 +0000 (15:39 +0000)
include/network.h

index be12a7c797257f1f81c143dea09488e42005cdae..4faf2a08b0c83f6639ef96d25299cfea2c3879fa 100644 (file)
 
 #ifndef __VLC_NETWORK_H
 # define __VLC_NETWORK_H
+
+#ifdef HAVE_SYS_SOCKET_H
+    #include <sys/socket.h>
+#endif
+
 /*****************************************************************************
  * network_socket_t: structure passed to a network plug-in to define the
  *                   kind of socket we want