Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Clem <timothy.clem@gmail.com>2012-06-15 22:25:52 +0400
committerTim Clem <timothy.clem@gmail.com>2012-06-15 22:25:52 +0400
commitac8eac2f6632de6215d970b77b420601cedd6a91 (patch)
treeada73df1a2e92a400551fd9e02a8d590a9c24f78 /src/common.h
parente00b56eb04145717ed3e8dc45cc4e03addccd7c7 (diff)
Fix compile errors when building on windows
Errors were due to not including winsock2 early enough.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index e2a300291..419a8d06b 100644
--- a/src/common.h
+++ b/src/common.h
@@ -24,6 +24,7 @@
# include <io.h>
# include <direct.h>
+# include <winsock2.h>
# include <windows.h>
# include "win32/msvc-compat.h"
# include "win32/mingw-compat.h"