summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-11 16:33:29 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-11 16:33:29 +0000
commit57cf0621d2d86c1cfa4786f8fb24159076478759 (patch)
tree7d89f12c9b8f500a8d34f94a0b8cae5bc1014d70 /configure
parent9c94ac4ec530f6e139d503af3cd3822a6257eeea (diff)
downloadmpv-57cf0621d2d86c1cfa4786f8fb24159076478759.tar.bz2
mpv-57cf0621d2d86c1cfa4786f8fb24159076478759.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 8c80607074..405b81eb81 100755
--- a/configure
+++ b/configure
@@ -2297,9 +2297,11 @@ echores "$_vsscanf"
echocheck "posix select()"
cat > $TMPC << EOF
-#include <sys/select.h>
-#include <sys/time.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
+#include <string.h>
+#include <sys/time.h>
#include <unistd.h>
int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
EOF