diff --git a/configure.ac b/configure.ac index 80368d7..a5f96cd 100644 --- a/configure.ac +++ b/configure.ac @@ -82,6 +82,7 @@ char buf[1]; getentropy(buf, 1); ;; *netbsd*) HOST_OS=netbsd + CFLAGS="$CFLAGS -D_OPENBSD_SOURCE" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #if __NetBSD_Version__ < 700000001