From ac2c70d91ae41e2c7aa8c1e03c847d3b78475785 Mon Sep 17 00:00:00 2001 From: Denis Kozadaev Date: Mon, 15 May 2023 18:57:48 +0300 Subject: [PATCH] add illumos sys/dl.h include condition Signed-off-by: Denis Kozadaev --- ltdl.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #endif +#ifdef HAVE_SYS_DL_H +# include +#endif + /* some flags are missing on some systems, so we provide * harmless defaults. *