]> The Tcpdump Group git mirrors - tcpdump/commit
Capsicum support: Fix a 'not defined' macro error
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 6 Mar 2024 20:11:42 +0000 (21:11 +0100)
committerfxlb <[email protected]>
Thu, 7 Mar 2024 06:39:23 +0000 (06:39 +0000)
commitbfc96b04831641376636337406aae7fe0fe65081
tree5ca7e0ce237dd7a9ced5756904879b3e827fa020
parente1c6ee4e724042f6efe1e075970550183e13ef34
Capsicum support: Fix a 'not defined' macro error

The error was:
In file included from ./tcpdump.c:158:
./interface.h:62:32: error: "HAVE_CAPSICUM" is not defined, evaluates
to 0 [-Werror=undef]
   62 |     (defined(HAVE_BPF_DUMP) && HAVE_CAPSICUM && !defined(bpf_dump))
      |                                ^~~~~~~~~~~~~
interface.h