diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-01 07:31:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-01 07:31:57 +0000 |
commit | 788a4d5f913fd4100f2163cf2e4e4a4a487f21ef (patch) | |
tree | 53ae00039c7583faee51750048459f3b83f86bd9 /stream/pnm.c | |
parent | f27f04a53d56a5b6ca89e80a67c140b6f009c439 (diff) | |
download | mpv-788a4d5f913fd4100f2163cf2e4e4a4a487f21ef.tar.bz2 mpv-788a4d5f913fd4100f2163cf2e4e4a4a487f21ef.tar.xz |
Move '#define closesocket close' preprocessor directive to a common place
and put it under the proper '#ifndef HAVE_CLOSESOCKET' condition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27505 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/pnm.c')
-rw-r--r-- | stream/pnm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/pnm.c b/stream/pnm.c index d9d9513897..1ef86e620c 100644 --- a/stream/pnm.c +++ b/stream/pnm.c @@ -36,7 +36,6 @@ #include <sys/time.h> #include <inttypes.h> #ifndef HAVE_WINSOCK2_H -#define closesocket close #include <sys/socket.h> //#include <netinet/in.h> //#include <netdb.h> @@ -50,7 +49,7 @@ #include "libmpdemux/demuxer.h" #include "help_mp.h" #include "osdep/timer.h" - +#include "network.h" #include "pnm.h" #include "tcp.h" //#include "libreal/rmff.h" |