MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed placeholder for winsock.

Originally committed as revision 7990 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
François Revol
2007-02-15 13:32:06 +00:00
parent 5286d11fcd
commit 36c07acd59
3 changed files with 9 additions and 6 deletions

View File

@ -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.