summaryrefslogtreecommitdiffstats
path: root/ltdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltdl.c')
-rw-r--r--ltdl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ltdl.c b/ltdl.c
index 9b4dccb..4ea9abf 100644
--- a/ltdl.c
+++ b/ltdl.c
@@ -654,6 +654,10 @@ int lt_dlopen_flag = 0;
# include <dl.h>
#endif
+#ifdef HAVE_SYS_DL_H
+# include <sys/dl.h>
+#endif
+
/* some flags are missing on some systems, so we provide
* harmless defaults.
*