diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-03-11 14:47:41 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-03-11 14:47:41 +1100 |
commit | 627824480c01f0b24541842c7206ab9009644d02 (patch) | |
tree | 1209a4a47f80ec2a097f025f87330330c5de4cbc /openbsd-compat/port-solaris.h | |
parent | e960051f9a264f682c4d2fefbeecffcfc66b0ddf (diff) |
Include priv.h for priv_set_t.
From alex at cooperi.net.
Diffstat (limited to 'openbsd-compat/port-solaris.h')
-rw-r--r-- | openbsd-compat/port-solaris.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/port-solaris.h b/openbsd-compat/port-solaris.h index 3a41ea8cd..a7cb5eb30 100644 --- a/openbsd-compat/port-solaris.h +++ b/openbsd-compat/port-solaris.h | |||
@@ -27,6 +27,7 @@ void solaris_contract_post_fork_child(void); | |||
27 | void solaris_contract_post_fork_parent(pid_t pid); | 27 | void solaris_contract_post_fork_parent(pid_t pid); |
28 | void solaris_set_default_project(struct passwd *); | 28 | void solaris_set_default_project(struct passwd *); |
29 | # ifdef USE_SOLARIS_PRIVS | 29 | # ifdef USE_SOLARIS_PRIVS |
30 | #include <priv.h> | ||
30 | priv_set_t *solaris_basic_privset(void); | 31 | priv_set_t *solaris_basic_privset(void); |
31 | void solaris_drop_privs_pinfo_net_fork_exec(void); | 32 | void solaris_drop_privs_pinfo_net_fork_exec(void); |
32 | void solaris_drop_privs_root_pinfo_net(void); | 33 | void solaris_drop_privs_root_pinfo_net(void); |