From: Darren Tucker Date: Fri, 15 Nov 2019 07:56:54 +0000 (+1100) Subject: Add wrappers for other ultrix headers. X-Git-Tag: V_8_2_P1~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39b87104cdd47baf79ef77dc81de62cea07d119f;p=thirdparty%2Fopenssh-portable.git Add wrappers for other ultrix headers. Wrappers protect against multiple inclusions for headers that don't do it themselves. --- diff --git a/configure.ac b/configure.ac index 99a88d6d9..cc944174b 100644 --- a/configure.ac +++ b/configure.ac @@ -1207,17 +1207,19 @@ mips-sony-bsd|mips-sony-newsos4) # DISABLE_FD_PASSING so that we call setpgrp as root, otherwise we # don't get a controlling tty. AC_DEFINE([DISABLE_FD_PASSING], [1], [Need to call setpgrp as root]) - # On Ultrix netinet/ip.h is not protected against multiple includes, - # so we create our own wrapper and put it where the compiler will - # find it. - AC_MSG_WARN([creating compat wrapper for netinet/ip.h]) + # On Ultrix some headers are not protected against multiple includes, + # so we create wrappers and put it where the compiler will find it. + AC_MSG_WARN([creating compat wrappers for headers]) mkdir -p netinet - cat >netinet/ip.h <$header <