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
commit471df5f6419f744013472455a3b8f977b07bd725 (patch)
tree436fb9cad436a10dd451629ce0a978513e1d7e1d /src/privsep-root.h
parent835f5ebf17d0996214763320bce1faed36c94fb2 (diff)
downloaddhcpcd-471df5f6419f744013472455a3b8f977b07bd725.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