]> jfr.im git - irc/UndernetIRC/iauthd-c.git/commit
Ensure strlcpy() gets declared
authorMichael Poole <redacted>
Sun, 12 Sep 2021 16:21:28 +0000 (12:21 -0400)
committerMichael Poole <redacted>
Sun, 12 Sep 2021 16:21:28 +0000 (12:21 -0400)
commit1afd26b99066c8f6ebab5bb45884968867d87432
treeabf9f53fdcf24440b92b631f24dd9e561e71b383
parent718abb3adcb9cf37a4fd71c3496f7000f87cb0f9
Ensure strlcpy() gets declared

FreeBSD 12.1 only declares strlcpy() if __BSD_VISIBLE is 1, which is
set by sys/cdefs.h only when _POSIX_C_SOURCE is *not* defined.
src/compat.h