diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-11 16:48:09 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-11 16:48:09 +0000 |
commit | 6ac4f2256749cc720d79317e8eb1a48a706e2db8 (patch) | |
tree | da82bb05e17c1456bbc891a1d47cb3bddee78c4f /libmpdemux/network.h | |
parent | 5ccc705d9a256ee7b8297c605838fdc2708b1fd5 (diff) | |
download | mpv-6ac4f2256749cc720d79317e8eb1a48a706e2db8.tar.bz2 mpv-6ac4f2256749cc720d79317e8eb1a48a706e2db8.tar.xz |
Networking support under MinGW.
Patch by flo/yepyep <flodt8@yahoo.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/network.h')
-rw-r--r-- | libmpdemux/network.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libmpdemux/network.h b/libmpdemux/network.h index e83b15c0ab..9bf614e0c0 100644 --- a/libmpdemux/network.h +++ b/libmpdemux/network.h @@ -8,12 +8,16 @@ #define __NETWORK_H #include <fcntl.h> -#include <netdb.h> -#include <netinet/in.h> #include <sys/time.h> #include <sys/types.h> + +#include "config.h" +#ifndef HAVE_WINSOCK2 +#include <netdb.h> +#include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> +#endif #include "url.h" #include "http.h" |