summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-17 09:23:59 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-17 09:23:59 +0000
commita7cdc125b80c87db3e2a0bcd710f86e1c3d09ea4 (patch)
treee2c0c93ae9c41f88ee1a4e3a541e04484098f432 /gnu/usr.bin/perl
parent8ef7febc8464a8c5edc2158d08fe752a4e6d79f0 (diff)
__NetBSD__ is going away from our gcc specs
Diffstat (limited to 'gnu/usr.bin/perl')
-rw-r--r--gnu/usr.bin/perl/ext/DynaLoader/dl_dlopen.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/ext/DynaLoader/dl_dlopen.xs b/gnu/usr.bin/perl/ext/DynaLoader/dl_dlopen.xs
index a2a68162b2e..86643f6d3be 100644
--- a/gnu/usr.bin/perl/ext/DynaLoader/dl_dlopen.xs
+++ b/gnu/usr.bin/perl/ext/DynaLoader/dl_dlopen.xs
@@ -119,7 +119,7 @@
#endif
#ifndef HAS_DLERROR
-# ifdef __NetBSD__
+# if defined(__NetBSD__) || defined(__OpenBSD__)
# define dlerror() strerror(errno)
# else
# define dlerror() "Unknown error - dlerror() not implemented"