diff options
Diffstat (limited to 'buildlib/makefile.in')
-rw-r--r-- | buildlib/makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/buildlib/makefile.in b/buildlib/makefile.in index 4eb64606c..fbad1ab07 100644 --- a/buildlib/makefile.in +++ b/buildlib/makefile.in @@ -34,8 +34,6 @@ dirs: @rm -f include/sys ifneq ($(words $(MISSING_DIRS)),0) @mkdir $(MISSING_DIRS) -else - @echo > /dev/null endif ifeq ($(HAVE_C9X),yes) @rm -f include/inttypes.h > /dev/null 2>&1 @@ -48,3 +46,8 @@ else @cp -p $(SRCDIR)/buildlib/statvfs.h.in include/statvfs.h ln -sf . include/sys endif +ifeq ($(NEED_SOCKLEN_T_DEFINE),yes) + @cp -p $(SRCDIR)/buildlib/netdb.h.in include/netdb.h +else + @rm -f include/netdb.h > /dev/null 2>&1 +endif |