commit be40ad51b68fa87bafb88e55db7856d373274a4d Author: Nick Mathewson nickm@torproject.org Date: Thu Jun 28 15:34:51 2018 -0400
Add sys/capability.h and sys/prctl.h includes in setuid.c --- src/lib/process/setuid.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/lib/process/setuid.c b/src/lib/process/setuid.c index 6c6cb48f5..fa1cdc0f3 100644 --- a/src/lib/process/setuid.c +++ b/src/lib/process/setuid.c @@ -28,6 +28,12 @@ #ifdef HAVE_PWD_H #include <pwd.h> #endif +#ifdef HAVE_SYS_CAPABILITY_H +#include <sys/capability.h> +#endif +#ifdef HAVE_SYS_PRCTL_H +#include <sys/prctl.h> +#endif
#include <errno.h> #include <string.h>
tor-commits@lists.torproject.org