compat: add inet_pton and inet_ntop prototypes
[gitweb.git] / compat / inet_ntop.c
index f44498258d4c2a0ebd1379ed818d9d04b56f0761..e5b46a0f21344178acf9ad47542765049ad4a0b9 100644 (file)
@@ -17,9 +17,9 @@
 
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
+
+#include "../git-compat-util.h"
+
 #include <stdio.h>
 #include <string.h>