0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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
This commit is contained in:
diego 2008-10-12 12:12:41 +00:00
parent 4ac23d655f
commit ac3b6d090c
3 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -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

View File

@ -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"

View File

@ -25,6 +25,9 @@
#ifndef HAVE_CLOSESOCKET
#define closesocket close
#endif
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
#define BUFFER_SIZE 2048