summaryrefslogtreecommitdiff
path: root/pppd
diff options
context:
space:
mode:
authorEivind Næss <eivnaes@yahoo.com>2022-05-30 20:20:24 -0700
committerEivind Næss <eivnaes@yahoo.com>2022-07-15 15:25:39 -0700
commit0ef528de9025051a4ab82e73ffd013edf2d6e4c5 (patch)
tree2aec6c1d02d5c91377341ad45bb76c70d9a36d84 /pppd
parentc0d579b8423ef278c204b6db60615c88eea9c870 (diff)
downloadppp-0ef528de9025051a4ab82e73ffd013edf2d6e4c5.tar.gz
Need to use the /include directory for SunOS
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Diffstat (limited to 'pppd')
-rw-r--r--pppd/Makefile.am1
-rw-r--r--pppd/sys-solaris.c4
2 files changed, 5 insertions, 0 deletions
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) */