summaryrefslogtreecommitdiff
path: root/shells/scsh/patches/patch-ad
blob: 38b709359fc08cc73594ac2e260bf22924885283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.3 2001/10/02 11:07:15 seb Exp $

--- dynload.c.orig	Thu Jul 15 03:24:05 1999
+++ dynload.c
@@ -32,6 +32,9 @@
 #if defined(__NetBSD__) || defined(__FreeBSD__)
 #include <nlist.h>
 #include <link.h>
+#ifdef __ELF__
+#include <dlfcn.h>
+#endif
 #else
 #include <dlfcn.h>
 #endif