Bug #754684: chkrootkit: FTBFS on kfreebsd-*: error: unknown type name 'uint64_t'
tags 754684 + patch
thanks
Hi,
On 08:53, Niko Tyni wrote:
> OK, quoting Robert Millan in #715321:
> This is intentional upstream policy (to avoid header pollution).
> Programs which include <net/if_bridevar.h> are expected to include
> <stdint.h> first.
> I expect this extrapolates to <net/if_arp.h> too.
Yes, the following change should be correct for chkrootkit too, and
fixes the FTBFS:
--- a/ifpromisc.c
+++ b/ifpromisc.c
@@ -38,6 +38,7 @@
#else
#include <net/if.h>
#ifndef __OpenBSD__
+#include <stdint.h>
#include <net/if_arp.h>
#endif
#endif
Thanks,
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: