git-diff/git-apply: make diff output a bit friendlier to GNU patch (part 1)
[gitweb.git] / Makefile
index c888c810bf8220c25b9949f47730742347738c32..e649d72f605c4b8a7d310464319d728eba52440f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -522,6 +522,9 @@ endif
 ifdef NO_INET_NTOP
        LIB_OBJS += compat/inet_ntop.o
 endif
+ifdef NO_INET_PTON
+       LIB_OBJS += compat/inet_pton.o
+endif
 
 ifdef NO_ICONV
        ALL_CFLAGS += -DNO_ICONV