diff options
Diffstat (limited to 'solaris_priv.c')
-rw-r--r-- | solaris_priv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solaris_priv.c b/solaris_priv.c index c730eb2..349334e 100644 --- a/solaris_priv.c +++ b/solaris_priv.c @@ -1,6 +1,7 @@ #include <stdlib.h> #include <priv.h> #include <stdio.h> +#include "memcached.h" /* * this section of code will drop all (Solaris) privileges including @@ -8,7 +9,7 @@ * effect of this is that after running this code, the process will not able * to fork(), exec(), etc. See privileges(5) for more information. */ -void drop_privileges() { +void drop_privileges(void) { priv_set_t *privs = priv_str_to_set("basic", ",", NULL); if (privs == NULL) { |