mirror of
https://github.com/janet-lang/janet
synced 2026-06-07 13:12:16 +00:00
b731f6ab03
The NetBSD C library's headers do not expose extensions when compiling with -std=c99 (as opposed to -std=gnu99 or no -std= option), so define _NETBSD_SOURCE to get timegm, and functions that would otherwise require an _XOPEN_SOURCE definition, e.g. realpath. Note that, as with FreeBSD, you need gmake to compile janet on NetBSD, and can also install it from packages.