diff options
| -rw-r--r-- | configure.ac | 9 | ||||
| -rw-r--r-- | random.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2449887301..341d535235 100644 --- a/configure.ac +++ b/configure.ac @@ -2545,6 +2545,15 @@ AS_CASE([$coroutine_type], [yes|''], [ [aarch64-freebsd*], [ coroutine_type=arm64 ], + [x86_64-netbsd*], [ + coroutine_type=amd64 + ], + [i386-netbsd*], [ + coroutine_type=x86 + ], + [aarch64-netbsd*], [ + coroutine_type=arm64 + ], [x86_64-openbsd*], [ coroutine_type=amd64 ], @@ -44,7 +44,7 @@ # include <wincrypt.h> #endif -#if defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) /* to define OpenBSD and FreeBSD for version check */ # include <sys/param.h> #endif |
