mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
fix slave mode on MACOSX: reported by devros <devros at seznam.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9908 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9c94ac4ec5
commit
57cf0621d2
6
configure
vendored
6
configure
vendored
@ -2297,9 +2297,11 @@ echores "$_vsscanf"
|
|||||||
|
|
||||||
echocheck "posix select()"
|
echocheck "posix select()"
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <sys/select.h>
|
#include <stdio.h>
|
||||||
#include <sys/time.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
|
int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user