diff --git a/git-compat-util.h b/git-compat-util.h
index 2af8d3edbe35dce35e940c5cccb91f9e06ebeff8..56dce8588472e8535c1482ed21818f413abb4dbf 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#include <assert.h>
#include <regex.h>
#include <utime.h>
+#include <syslog.h>
#ifndef __MINGW32__
#include <sys/wait.h>
#include <sys/poll.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);