summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2018-11-06 08:55:22 -0200
committerRenato Botelho <garga@FreeBSD.org>2018-11-06 08:59:31 -0200
commitbcfbe85083dea063b326b7fb229de4d3eb000a92 (patch)
tree7df978f627e7233c178888eefec02fc05aa03d26
parent299fc72fea7a32b18a77457c70028e9679fd5c0d (diff)
downloadtcpdump-bcfbe85083dea063b326b7fb229de4d3eb000a92.tar.gz
Include correct capsicum header
Current included header `sys/capability.h` is deprecated. All supported FreeBSD versions have now the proper header `sys/capsicum.h`
-rw-r--r--tcpdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpdump.c b/tcpdump.c
index d17a572b..88e20588 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -81,7 +81,7 @@ The Regents of the University of California. All rights reserved.\n";
* in the opposite order works fine.
*/
#ifdef HAVE_CAPSICUM
-#include <sys/capability.h>
+#include <sys/capsicum.h>
#include <sys/ioccom.h>
#include <net/bpf.h>
#include <libgen.h>