diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2014-07-05 21:22:56 +0200 |
---|---|---|
committer | Jacques Germishuys <jacquesg@striata.com> | 2014-07-06 09:22:24 +0200 |
commit | 90c2b37fd7e6598b32376dcbcaa9d7518f17d93f (patch) | |
tree | fed621b78939d4af48cfe4d31ff84fb4e5c46e93 | |
parent | b0ed61f8227cb6fb937f68c9a6750851f3d0632f (diff) | |
download | libgit2-90c2b37fd7e6598b32376dcbcaa9d7518f17d93f.tar.gz |
in_addr is defined in <Winsock2.h>, include before <ws2tcpip.h>
-rw-r--r-- | src/netops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netops.c b/src/netops.c index 8a60299c2..fceb4fb74 100644 --- a/src/netops.c +++ b/src/netops.c @@ -13,6 +13,7 @@ # include <netinet/in.h> # include <arpa/inet.h> #else +# include <winsock2.h> # include <ws2tcpip.h> # ifdef _MSC_VER # pragma comment(lib, "ws2_32") |