summaryrefslogtreecommitdiffstats
path: root/Src/module.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-05 01:50:12 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-05 01:50:12 +0000
commit870350b116523e9d8d2dbbccc6c6bbc5ae433456 (patch)
tree726490dac253c51625f76fbc9e983c56de642838 /Src/module.c
parentzsh-workers/9212 (diff)
downloadzsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.gz
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.bz2
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.lz
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.xz
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.zst
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.zip
manual/9211
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/module.c b/Src/module.c
index 6b34f81b1..d8a01cce6 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -319,7 +319,11 @@ load_and_bind(const char *fn)
#else
#ifdef HAVE_DLFCN_H
+# ifdef HAVE_DL_H
+# include <dl.h>
+# else
# include <dlfcn.h>
+# endif
#else
# ifdef HAVE_DL_H
# include <dl.h>