Commit e52963080a1cc4c7cd7a921fd96d9656cc976022

Fraser Tweedale 2013-08-24T20:15:22

netops: remove duplicate include 9e9aee6 added an include <netinet/in.h> to fix the build on FreeBSD. Sometime since then the same header is included ifndef _WIN32, so remove the duplicate include.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/netops.c b/src/netops.c
index 69179dd..803c269 100644
--- a/src/netops.c
+++ b/src/netops.c
@@ -19,10 +19,6 @@
 #	endif
 #endif
 
-#ifdef __FreeBSD__
-#	include <netinet/in.h>
-#endif
-
 #ifdef GIT_SSL
 # include <openssl/ssl.h>
 # include <openssl/err.h>