]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include correct capsicum header 715/head
authorRenato Botelho <[email protected]>
Tue, 6 Nov 2018 10:55:22 +0000 (08:55 -0200)
committerRenato Botelho <[email protected]>
Tue, 6 Nov 2018 10:59:31 +0000 (08:59 -0200)
Current included header `sys/capability.h` is deprecated. All
supported FreeBSD versions have now the proper header `sys/capsicum.h`

tcpdump.c

index d17a572b4d8733f5f0cc301c9d40c96c8da78806..88e205883e49dccf64df0f1da2017280c317d288 100644 (file)
--- 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>