Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
authorRichard Levitte <levitte@openssl.org>
Wed, 29 May 2002 20:55:25 +0000 (20:55 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 May 2002 20:55:25 +0000 (20:55 +0000)
PR: 58, submitted by andrew@cis.uoguelph.ca

crypto/dso/dso_dlfcn.c

index e709c721cc348dbffae72382698ef7af3bc2df09..acf09f5a08693ebd4b6c97b341ea040330413f99 100644 (file)
@@ -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