mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01: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:
parent
4ac23d655f
commit
ac3b6d090c
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -25,6 +25,9 @@
|
||||
#ifndef HAVE_CLOSESOCKET
|
||||
#define closesocket close
|
||||
#endif
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#define BUFFER_SIZE 2048
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user