[rtmpdump] r434 - trunk/librtmp/rtmp_sys.h

hyc subversion at mplayerhq.hu
Sun Apr 18 21:32:43 CEST 2010


Author: hyc
Date: Sun Apr 18 21:32:42 2010
New Revision: 434

Log:
Use winsock2.h, not winsock.h

Modified:
   trunk/librtmp/rtmp_sys.h

Modified: trunk/librtmp/rtmp_sys.h
==============================================================================
--- trunk/librtmp/rtmp_sys.h	Sun Apr 18 21:22:40 2010	(r433)
+++ trunk/librtmp/rtmp_sys.h	Sun Apr 18 21:32:42 2010	(r434)
@@ -22,7 +22,7 @@
  */
 
 #ifdef WIN32
-#include <winsock.h>
+#include <winsock2.h>
 #define GetSockError()	WSAGetLastError()
 #define setsockopt(a,b,c,d,e)	(setsockopt)(a,b,c,(const char *)d,(int)e)
 #define EWOULDBLOCK	WSAETIMEDOUT	/* we don't use nonblocking, but we do use timeouts */


More information about the rtmpdump mailing list