aboutsummaryrefslogtreecommitdiffstats
path: root/summary.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-30 00:24:40 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-30 00:24:40 +0000
commita8c47bd9d76cac432ed2d420b1026dbb38767dcb (patch)
tree956ab91ef804104bde2f208b6425b01233d6f4b8 /summary.c
parenta3a03c032dcbead87fed18ac68541318efd425e5 (diff)
Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark. Remove the "DANGEROUS" notices, but leave it disabled by default. Whine if the user runs Wireshark or TShark as root. Add a preference to disable the whining. Add a "setuid-root" script that can be used to switch dumpcap and TShark's setuid-ness on and off for development and testing. Update the release notes and README.packaging. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22733 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/summary.c b/summary.c
index 0ac1b8a5f1..528bbfc556 100644
--- a/summary.c
+++ b/summary.c
@@ -26,6 +26,10 @@
# include "config.h"
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#include <epan/packet.h>
#include "cfile.h"
#include "summary.h"