Commit 3d0810e9 authored by Benjamin Pracht's avatar Benjamin Pracht

* Include <sys/socket.h> if the system has it (should fix compilation on OSX/cygwin).

parent d37194a3
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
#ifndef __VLC_NETWORK_H #ifndef __VLC_NETWORK_H
# define __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 * network_socket_t: structure passed to a network plug-in to define the
* kind of socket we want * kind of socket we want
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment