aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dso
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-29 21:00:08 +0000
committerRichard Levitte <levitte@openssl.org>2002-05-29 21:00:08 +0000
commit3d27b1fa85ea1ace004357bc9e61024225dc3b66 (patch)
tree50854d2f039cb1e51ca0123a3316a1495a734d22 /crypto/dso
parent6298bf907359071c6387fe06b67b6939c53c7a0b (diff)
downloadopenssl-3d27b1fa85ea1ace004357bc9e61024225dc3b66.tar.gz
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
PR: 58, submitted by andrew@cis.uoguelph.ca
Diffstat (limited to 'crypto/dso')
-rw-r--r--crypto/dso/dso_dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c
index 1a19164d3b..906b4703de 100644
--- a/crypto/dso/dso_dlfcn.c
+++ b/crypto/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