[Bug 234180] getrandom linking problem due to missing macros in sys/random.h
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 19 21:19:24 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234180
Conrad Meyer <cem at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cem at freebsd.org
--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
The cdefs include isn't needed (it's in the wrong place, too, but it's
redundant with the sys/types include already present in the right place at top
of file). Otherwise, adding the C++ demangling seems reasonable to me — at
least in the sense that it is consistent with other sys/ headers.
For 12.0, can you work around the issue by adding 'extern "C" {' around the
#include?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list