From: Benjamin Pracht Date: Sat, 2 Jul 2005 15:39:21 +0000 (+0000) Subject: * Include if the system has it (should fix compilation on OSX/cygwin). X-Git-Tag: 0.8.4~1338 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3d0810e9265a6bbaf0221269779ad02ec0f84ed6;p=vlc * Include if the system has it (should fix compilation on OSX/cygwin). --- diff --git a/include/network.h b/include/network.h index be12a7c797..4faf2a08b0 100644 --- a/include/network.h +++ b/include/network.h @@ -25,6 +25,11 @@ #ifndef __VLC_NETWORK_H # define __VLC_NETWORK_H + +#ifdef HAVE_SYS_SOCKET_H + #include +#endif + /***************************************************************************** * network_socket_t: structure passed to a network plug-in to define the * kind of socket we want