https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259975
--- Comment #6 from Warner Losh <[email protected]> --- The other workaround for this would be to add -D__BSD_VISIBLE=1 to the compliation. The hdf sources already do something similar for _GNU_SOURCE to bring in extra functionality that's only in Linux, but we have no similar _BSD_SOURCE or _FREEBSD_SOURCE (NetBSD and OpenBSD both have _NETBSD_SORUCE or _OPENBSD_SOURCE respectively). My inclination is to define _FREEBSD_SOURCE and have hdf use it (and maybe __BSD_VISIBLE=1 as a transitionary workaround), but I'm open for the least painful way to be both compliant with POSIX_C_SOURCE and the desire for enabling extensions. -- You are receiving this mail because: You are the assignee for the bug.
