diff options
author | Trond Norbye <Trond.Norbye@sun.com> | 2009-08-20 19:56:51 +0200 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-08-22 23:38:12 -0700 |
commit | 3fa313718559d7bb044511e4c8c5094d44bf0818 (patch) | |
tree | ed8e461cf4b1b6d106588152319fdb0a5fd5bbfb /solaris_priv.c | |
parent | d747f593606d61e3bd60cb6ebb0144b05edb41cb (diff) | |
download | memcached-3fa313718559d7bb044511e4c8c5094d44bf0818.tar.gz |
Remove compilation errors from gcc on Solaris
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) { |