path: root/summary.c
diff options
authorGerald Combs <gerald@wireshark.org>2007-08-30 00:24:40 +0000
committerGerald Combs <gerald@wireshark.org>2007-08-30 00:24:40 +0000
commit92802883a6ec5192b9df1ab7b3d4d8069b46f841 (patch)
tree956ab91ef804104bde2f208b6425b01233d6f4b8 /summary.c
parent4e83fc82878f4037921bb688e8559abf5701e856 (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. svn path=/trunk/; revision=22733
Diffstat (limited to 'summary.c')
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"
+#include <sys/types.h>
#include <epan/packet.h>
#include "cfile.h"
#include "summary.h"