NO_INET_NTOP and compat/inet_ntop.c for some systems (e.g. old Cygwin).
[git.git] / Makefile
index 4fd6520..efe6b12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -420,6 +420,9 @@ else
        ALL_CFLAGS += -Dsockaddr_storage=sockaddr_in6
 endif
 endif
+ifdef NO_INET_NTOP
+       LIB_OBJS += compat/inet_ntop.o
+endif
 
 ifdef NO_ICONV
        ALL_CFLAGS += -DNO_ICONV