summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-11-29 02:06:44 +0300
committerRoy Marples <roy@marples.name>2019-11-29 02:06:44 +0300
commitabd613d98a15fa740137e59601eb3646ca8c0bf8 (patch)
tree436fb9cad436a10dd451629ce0a978513e1d7e1d /src/privsep-root.h
parent18be71e842f64f2f6fe130865aa58b4221e5024d (diff)
downloaddhcpcd-abd613d98a15fa740137e59601eb3646ca8c0bf8.tar.xz
Solaris: start privsep support
Compiles but lacks support for DLPI and ioctl needs rework.
Diffstat (limited to 'src/privsep-root.h')
-rw-r--r--src/privsep-root.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep-root.h b/src/privsep-root.h
index 8f23c994..219bca35 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -35,7 +35,7 @@ int ps_root_stop(struct dhcpcd_ctx *ctx);
ssize_t ps_root_readerror(struct dhcpcd_ctx *);
ssize_t ps_root_ioctl(struct dhcpcd_ctx *, unsigned long, void *, size_t);
ssize_t ps_root_os(struct ps_msghdr *, struct msghdr *);
-#ifdef BSD
+#if defined(BSD) || defined(__sun)
ssize_t ps_root_route(struct dhcpcd_ctx *, void *, size_t);
ssize_t ps_root_ioctl6(struct dhcpcd_ctx *, unsigned long, void *, size_t);
#endif