$NetBSD: patch-aa,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $

--- libs/util/plugin.c.orig	2003-12-27 23:56:05.000000000 -0800
+++ libs/util/plugin.c	2003-12-27 23:59:08.000000000 -0800
@@ -121,7 +121,7 @@
 {
 	void       *dlhand;
 #ifndef _WIN32
-# ifdef __OpenBSD__
+# if defined(__OpenBSD__) || defined(__NetBSD__)
 	int        flags = RTLD_LAZY;
 # else
 	int        flags = RTLD_NOW;
