]> The Tcpdump Group git mirrors - tcpdump/blobdiff - interface.h
Revert "Clean a bunch of fuzzed files not to fuzz the container."
[tcpdump] / interface.h
index d54172eef7bb50d32df47688cd5c3e8efcd211ab..58e5ab33e51f4a0b1878929fa4cfcaf9ccb6bba5 100644 (file)
@@ -57,7 +57,13 @@ extern char *program_name;   /* used to generate self-identifying messages */
 
 #ifndef HAVE_BPF_DUMP
 struct bpf_program;
+#endif
 
+/*
+ * With Capsicum bpf_dump() may be not declared even if HAVE_BPF_DUMP is set.
+ */
+#if !defined(HAVE_BPF_DUMP) || \
+    (defined(HAVE_BPF_DUMP) && HAVE_CAPSICUM && !defined(bpf_dump))
 extern void bpf_dump(const struct bpf_program *, int);
 
 #endif