diff --git a/git-compat-util.h b/git-compat-util.h
index e192831961cb50b6e1421773e74dcd70fb2dce97..56dce8588472e8535c1482ed21818f413abb4dbf 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
}
#endif
+#ifdef NO_INET_PTON
+int inet_pton(int af, const char *src, void *dst);
+#endif
+
+#ifdef NO_INET_NTOP
+const char *inet_ntop(int af, const void *src, char *dst, size_t size);
+#endif
+
extern void release_pack_memory(size_t, int);
typedef void (*try_to_free_t)(size_t);