]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add sys/capability.h and sys/prctl.h includes in setuid.c
authorNick Mathewson <nickm@torproject.org>
Thu, 28 Jun 2018 19:34:51 +0000 (15:34 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 28 Jun 2018 19:34:51 +0000 (15:34 -0400)
src/lib/process/setuid.c

index 6c6cb48f524aac78ea57fb0d085faf35218abfc6..fa1cdc0f3fee64108298f7c12578bb1681708a51 100644 (file)
 #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>