about summary refs log tree commit diff
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
parentcf0e1c9dca0071716d1952a6b1a552724ea06470 (diff)
downloadzsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.gz
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.tar.xz
zsh-870350b116523e9d8d2dbbccc6c6bbc5ae433456.zip
manual/9211
-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>