$OpenBSD: patch-src_dl_loader_c,v 1.1.1.1 2004/06/18 18:56:43 sturm Exp $
--- src/dl_loader.c.orig	2003-12-20 03:49:01.000000000 -0800
+++ src/dl_loader.c	2004-04-28 10:26:59.000000000 -0700
@@ -128,7 +128,7 @@ int tca_import(int opt, void *para1, voi
 
 void *load_module(char *mod_name, int mode)
 {
-#if defined(__FreeBSD__) || defined (__APPLE__)
+#ifdef SYS_BSD
   const
 #endif  
   char *error;
