summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln.c b/dln.c
index 8f0b2a0409..d96c5a40d5 100644
--- a/dln.c
+++ b/dln.c
@@ -1115,7 +1115,7 @@ dln_sym(name)
#endif /* USE_DLN_A_OUT */
#ifdef USE_DLN_DLOPEN
-# ifdef __NetBSD__
+# if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ < 105000000
# include <nlist.h>
# include <link.h>
# else