diff os_support.c @ 1798:d1e61f4d02cd libavformat

MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed placeholder for winsock.
author mmu_man
date Thu, 15 Feb 2007 13:32:06 +0000
parents 20c8dfd3ee84
children 0dc3a767943d
line wrap: on
line diff
--- a/os_support.c	Thu Feb 15 07:44:10 2007 +0000
+++ b/os_support.c	Thu Feb 15 13:32:06 2007 +0000
@@ -35,9 +35,14 @@
 #include <sys/time.h>
 #endif
 #include <time.h>
+
 #ifndef HAVE_SYS_POLL_H
+#if defined(__MINGW32__)
+#include <winsock2.h>
+#else
 #include <sys/select.h>
 #endif
+#endif
 
 /**
  * gets the current time in micro seconds.