Commit 3ef7d06302b97a24167cd1ceafeb08b871df1751

Vicent Marti 2011-08-30T13:10:26

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/transport_git.c b/src/transport_git.c
index 00f608e..0eec39d 100644
--- a/src/transport_git.c
+++ b/src/transport_git.c
@@ -23,7 +23,9 @@
  * Boston, MA 02110-1301, USA.
  */
 
+#ifndef __MINGW32__
 #include <sys/select.h>
+#endif
 
 #include "git2/net.h"
 #include "git2/common.h"