diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-06 11:00:15 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-06 11:00:15 +0200 |
commit | 66798ad0d8e30821c0ac26a6c602e2e2cf0b2fff (patch) | |
tree | 21dc4486897280f22ae3af21924af3a7c67340f5 | |
parent | fdc5c38e406612ffccfab3f3e90013c63cee3a7b (diff) | |
download | libgit2-66798ad0d8e30821c0ac26a6c602e2e2cf0b2fff.tar.gz |
Don't include arpa/inet.h on Windows
-rw-r--r-- | src/netops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netops.c b/src/netops.c index 705c1d415..b12750bee 100644 --- a/src/netops.c +++ b/src/netops.c @@ -10,6 +10,7 @@ # include <sys/select.h> # include <sys/time.h> # include <netdb.h> +# include <arpa/inet.h> #else # include <winsock2.h> # include <ws2tcpip.h> @@ -24,7 +25,6 @@ #endif #include <ctype.h> -#include <arpa/inet.h> #include "git2/errors.h" #include "common.h" |