[MPlayer-cvslog] r27744 - in trunk: configure stream/librtsp/rtsp_rtp.c stream/network.h

diego subversion at mplayerhq.hu
Sun Oct 12 14:12:42 CEST 2008


Author: diego
Date: Sun Oct 12 14:12:41 2008
New Revision: 27744

Log:
Move socklen_t typedef from config.h to stream/network.h.


Modified:
   trunk/configure
   trunk/stream/librtsp/rtsp_rtp.c
   trunk/stream/network.h

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Oct 12 14:12:41 2008
@@ -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

Modified: trunk/stream/librtsp/rtsp_rtp.c
==============================================================================
--- trunk/stream/librtsp/rtsp_rtp.c	(original)
+++ trunk/stream/librtsp/rtsp_rtp.c	Sun Oct 12 14:12:41 2008
@@ -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"
 

Modified: trunk/stream/network.h
==============================================================================
--- trunk/stream/network.h	(original)
+++ trunk/stream/network.h	Sun Oct 12 14:12:41 2008
@@ -25,6 +25,9 @@
 #ifndef HAVE_CLOSESOCKET
 #define closesocket close
 #endif
+#ifndef HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
 
 #define BUFFER_SIZE		2048
 



More information about the MPlayer-cvslog mailing list