Rocco Rutte <pdmef@xxxxxxx> writes: > FreeBSD (6-STABLE) "hides" many declarations (like fchmod(), IPPROTO_IPV6, > etc.) within '#ifdef __BSD_VISIBLE' blocks. Without this flag, compilation > will produce lots of warnings and will even fail to compile daemon.c > since IPPROTO_IPV6 isn't available without it. I've looked at OpenBSD header files and my impression was that the symbol __BSD_VISIBLE was pretty much internal to the implementation, and the programs are not expected to set it except by defining more public feature macros, such as _BSD_SOURCE. So I feel a bit uneasy about your approach. We've changed this exact area quite heavily during the last 24-hours (not in Makefile but in git-compat-util.h). Do you see the problem with the latest 'master'? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html