This fixes a build failure on musl at the least. pcapfix was using
some non-standard types like u_int32_t: fortunately has
a nice set of types with exactly the same properties, named e.g.
uint32_t, and so on.
It looks like MSVC provides nowadays too.
This manifested in a build failure on musl systems like:
pcap.h:31:3: error: unknown type name u_int32_t
31 | u_int32_t magic_number; /* magic number */
| ^~~~~~~~~
pcap.h:32:3: error: unknown type name u_int16_t
This fixes a build failure on musl at the least. pcapfix was using some non-standard types like u_int32_t: fortunately has
a nice set of types with exactly the same properties, named e.g.
uint32_t, and so on.
It looks like MSVC provides nowadays too.
This manifested in a build failure on musl systems like:
Bug: https://bugs.gentoo.org/712772