network: <select.h> is not available in MinGW

This commit is contained in:
Vicent Marti 2011-08-30 13:10:26 +02:00
parent aa2f68d807
commit 3ef7d06302

View File

@ -23,7 +23,9 @@
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef __MINGW32__
#include <sys/select.h> #include <sys/select.h>
#endif
#include "git2/net.h" #include "git2/net.h"
#include "git2/common.h" #include "git2/common.h"