summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-03 08:22:09 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-03 15:22:45 +0000
commit66b02c75eda0c5c7430ff62f641390ad415e826c (patch)
tree9ad5a3baff0ff278a7be66155118615f6c529f2c /tshark.c
parentf3c62edc7738f30f5ccf3861e4839539fd558367 (diff)
downloadwireshark-66b02c75eda0c5c7430ff62f641390ad415e826c.tar.gz
Include <sys/capaibility.h> to get _LINUX_CAPABILITY_VERSION defined.
It's no longer used in version_info.c, but is used in the main source files of TShark and Wireshark (it's already included in dumpcap). Change-Id: I2169a2bbed678baf26fc8711d7c13d95cce3ee2a Reviewed-on: https://code.wireshark.org/review/2819 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 4950680623..7b7b4fee23 100644
--- a/tshark.c
+++ b/tshark.c
@@ -55,6 +55,10 @@
#include <zlib.h> /* to get the libz version number */
#endif
+#ifdef HAVE_LIBCAP
+# include <sys/capability.h>
+#endif
+
#ifndef HAVE_GETOPT
#include "wsutil/wsgetopt.h"
#endif