From: Eivind Næss Date: Tue, 31 May 2022 03:20:24 +0000 (-0700) Subject: Need to use the /include directory for SunOS X-Git-Tag: ppp-2.5.0~36^2~3 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=0ef528de9025051a4ab82e73ffd013edf2d6e4c5;hp=c0d579b8423ef278c204b6db60615c88eea9c870;p=ppp.git Need to use the /include directory for SunOS Signed-off-by: Eivind Næss --- diff --git a/pppd/Makefile.am b/pppd/Makefile.am index 405671a..7dc6cdd 100644 --- a/pppd/Makefile.am +++ b/pppd/Makefile.am @@ -79,6 +79,7 @@ endif if SUNOS pppd_SOURCES += sys-solaris.c +pppd_CPPFLAGS += -I${top_srcdir}/include pppd_LIBS += -lsocket -lnsl endif diff --git a/pppd/sys-solaris.c b/pppd/sys-solaris.c index 080a3b6..d903721 100644 --- a/pppd/sys-solaris.c +++ b/pppd/sys-solaris.c @@ -141,6 +141,10 @@ #include "ipcp.h" #include "ccp.h" +#ifdef PPP_WITH_IPV6CP +#include "eui64.h" +#endif + #if !defined(PPP_DRV_NAME) #define PPP_DRV_NAME "ppp" #endif /* !defined(PPP_DRV_NAME) */