summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-08-30 13:10:26 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-30 13:10:47 +0200
commit3ef7d06302b97a24167cd1ceafeb08b871df1751 (patch)
tree867e6012e27baf0e49e9012755a5568fce5821c3 /src
parentaa2f68d80788e9ff6371b0f657901476085cebd0 (diff)
downloadlibgit2-3ef7d06302b97a24167cd1ceafeb08b871df1751.tar.gz
network: <select.h> is not available in MinGW
Diffstat (limited to 'src')
-rw-r--r--src/transport_git.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport_git.c b/src/transport_git.c
index 00f608ec9..0eec39df2 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"