From: Todd C. Miller Date: Fri, 17 Aug 2018 19:25:46 +0000 (-0600) Subject: Avoid a compilation problem on HP-UX 11.31 with gcc and machine/sys/getppdp.h X-Git-Tag: SUDO_1_8_24^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d014dfacd002cedacc6a4e6b09862c208491187;p=sudo Avoid a compilation problem on HP-UX 11.31 with gcc and machine/sys/getppdp.h --- diff --git a/src/net_ifs.c b/src/net_ifs.c index dc8f3ce30..6887f2458 100644 --- a/src/net_ifs.c +++ b/src/net_ifs.c @@ -28,6 +28,9 @@ struct mbuf; struct rtentry; #endif +/* Avoid a compilation problem with gcc and machine/sys/getppdp.h */ +#define _MACHINE_SYS_GETPPDP_INCLUDED + #include #include