diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-03 08:22:09 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-03 15:22:45 +0000 |
commit | 66b02c75eda0c5c7430ff62f641390ad415e826c (patch) | |
tree | 9ad5a3baff0ff278a7be66155118615f6c529f2c /tshark.c | |
parent | f3c62edc7738f30f5ccf3861e4839539fd558367 (diff) | |
download | wireshark-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |