diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-12 12:12:41 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-12 12:12:41 +0000 |
commit | ac3b6d090c0b5c6ee4efecf0b80a6c01bfd4572f (patch) | |
tree | b6820555dc91b2c9f7308640a4bb302208c7050b | |
parent | 4ac23d655fb82977350a7304aae898b343850dd1 (diff) |
Move socklen_t typedef from config.h to stream/network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | stream/librtsp/rtsp_rtp.c | 1 | ||||
-rw-r--r-- | stream/network.h | 3 |
3 files changed, 4 insertions, 4 deletions
@@ -8563,10 +8563,6 @@ $_def_use_aton /* socklen_t support */ $_def_socklen_t -#ifndef HAVE_SOCKLEN_T -#define HAVE_SOCKLEN_T 1 -typedef int socklen_t; -#endif /* closesocket() support */ $_def_closesocket diff --git a/stream/librtsp/rtsp_rtp.c b/stream/librtsp/rtsp_rtp.c index fd01524d89..b782b59cd5 100644 --- a/stream/librtsp/rtsp_rtp.c +++ b/stream/librtsp/rtsp_rtp.c @@ -42,6 +42,7 @@ #include "rtsp.h" #include "rtsp_rtp.h" #include "rtsp_session.h" +#include "stream/network.h" #include "stream/freesdp/common.h" #include "stream/freesdp/parser.h" diff --git a/stream/network.h b/stream/network.h index 76e2e6d520..36b470dfe4 100644 --- a/stream/network.h +++ b/stream/network.h @@ -25,6 +25,9 @@ #ifndef HAVE_CLOSESOCKET #define closesocket close #endif +#ifndef HAVE_SOCKLEN_T +typedef int socklen_t; +#endif #define BUFFER_SIZE 2048 |