summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorpaul <paul>2003-06-04 13:59:38 +0000
committerpaul <paul>2003-06-04 13:59:38 +0000
commita67e0eb96fd28f7ca2deb9b00c251969becc310d (patch)
tree90408e2030b663f539efe8d6b9a8fbbdbcda097e /lib/zebra.h
parent1023023aceee2b00a7b66201a723e8c20f26957c (diff)
downloadquagga-a67e0eb96fd28f7ca2deb9b00c251969becc310d.tar.bz2
quagga-a67e0eb96fd28f7ca2deb9b00c251969becc310d.tar.xz
2003-06-04 Paul Jakma <paul@dishone.st>
* Merge of zebra privileges
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 62566cf8..15608dbc 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -42,6 +42,8 @@ typedef int socklen_t;
#include <fcntl.h>
#include <signal.h>
#include <string.h>
+#include <pwd.h>
+#include <grp.h>
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif /* HAVE_STROPTS_H */
@@ -70,6 +72,10 @@ typedef int socklen_t;
#ifdef HAVE_RUSAGE
#include <sys/resource.h>
#endif /* HAVE_RUSAGE */
+#ifdef HAVE_LCAPS
+#include <sys/capability.h>
+#include <sys/prctl.h>
+#endif /* HAVE_LCAPS */
/* machine dependent includes */
#ifdef SUNOS_5