[Bug 253870] devel/libgtop: fails to build on head after commit 2bfd8992c7c7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 27 13:05:46 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253870

--- Comment #5 from Guido Falsi <madpilot at FreeBSD.org> ---
(In reply to Tomoaki AOKI from comment #4)

Basic problem is that the source itself is including and using system includes
and already polluting things with _KERNEL. I grabbed sys/types.h because it is
what buf.h seems to expect.

Anyway in this case what we are missing is only the bool definition, and I
suspect that the function returning bool and causing the error is not even used
in this code.

This means we could get away with a typedef bool to int and everything would
work.

I really have no idea what is the "correct" solution. Ideal solution would be
fixing this code to not use system includes at all.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-gnome mailing list