Also check for closesocket in winsock2.h
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 12 Aug 2007 00:27:18 +0000 (00:27 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sun, 12 Aug 2007 00:27:18 +0000 (00:27 +0000)
Originally committed as revision 10086 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 7c7a5524c8d551050a6cdf74d7af9238116c8bb4..b460063d3487a2fe6406f1fc432049581f30a396 100755 (executable)
--- a/configure
+++ b/configure
@@ -1630,7 +1630,8 @@ check_func getrusage
 check_func2 windows.h GetProcessTimes
 
 check_func fork
-check_func closesocket
+check_func closesocket ||
+    check_func2 winsock2.h closesocket
 
 test "$vhook" = "default" && vhook="$dlopen"