summaryrefslogtreecommitdiffstats
path: root/ltdl.c
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-05-15 18:57:48 +0300
committerDenis Kozadaev <denis@dilos.org>2023-05-15 18:57:48 +0300
commitac2c70d91ae41e2c7aa8c1e03c847d3b78475785 (patch)
tree43235f9dfc3b0c036752573d28fc4bc614e446ec /ltdl.c
parent0f92944b23894ebef2cb0e931c59b77017998b34 (diff)
downloadlibltdl-ac2c70d91ae41e2c7aa8c1e03c847d3b78475785.tar.gz
libltdl-ac2c70d91ae41e2c7aa8c1e03c847d3b78475785.zip
add illumos sys/dl.h include condition
Signed-off-by: Denis Kozadaev <denis@dilos.org>
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.
*