summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dso
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/dso')
-rw-r--r--lib/libcrypto/dso/dso_dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/dso/dso_dlfcn.c b/lib/libcrypto/dso/dso_dlfcn.c
index 1a19164d3b1..906b4703de7 100644
--- a/lib/libcrypto/dso/dso_dlfcn.c
+++ b/lib/libcrypto/dso/dso_dlfcn.c
@@ -114,7 +114,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
* as we don't have autoconf yet, I'm implementing a hack that could
* be hacked further relatively easily to deal with cases as we find
* them. Initially this is to cope with OpenBSD. */
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__)
# ifdef DL_LAZY
# define DLOPEN_FLAG DL_LAZY
# else