aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-29 20:55:25 +0000
committerRichard Levitte <levitte@openssl.org>2002-05-29 20:55:25 +0000
commitb91c29147be6e84785f9b2d22dd18e0b8558331f (patch)
tree20a5b62781d0f6a9a676167a33226d20770d4fd6
parent1af4d835650a8117ad8140067597427bde635186 (diff)
downloadopenssl-b91c29147be6e84785f9b2d22dd18e0b8558331f.tar.gz
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
PR: 58, submitted by andrew@cis.uoguelph.ca
-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 e709c721cc..acf09f5a08 100644
--- a/crypto/dso/dso_dlfcn.c
+++ b/crypto/dso/dso_dlfcn.c
@@ -112,7 +112,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