$NetBSD: patch-aa,v 1.4 1999/05/03 19:45:44 tv Exp $

--- functions/dl.c.orig	Sun May  2 14:34:53 1999
+++ functions/dl.c	Sun May  2 14:35:15 1999
@@ -123,7 +123,11 @@
 #endif
 		RETURN_FALSE;
 	}
+#ifdef __ELF__
 	get_module = (php3_module_entry *(*)(void)) dlsym(handle, "get_module");
+#else
+	get_module = (php3_module_entry *(*)(void)) dlsym(handle, "_get_module");
+#endif
 	
 	if (!get_module) {
 		dlclose(handle);
