about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/module.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bbdc0e6ff..35cfc6f57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-03-11  Oliver Kiddle  <opk@zsh.org>
 
+	* 19596: Src/module.c: include dlfcn.h instead of dl.h on HP/UX 11
+
 	* 19595: Src/hashtable.c, Src/lex.c, Src/parse.c, Src/zsh.h,
 	Src/Zle/zle_tricky.c: rename DO to DOLOOP to avoid conflict with
 	a DO in curses.h on Tru64 5.1
diff --git a/Src/module.c b/Src/module.c
index 1df8a03b6..3a89294e5 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -349,7 +349,7 @@ load_and_bind(const char *fn)
 #else
 
 #ifdef HAVE_DLFCN_H
-# if defined(HAVE_DL_H) && defined(__hpux)
+# if defined(HAVE_DL_H) && defined(HPUXDYNAMIC)
 #  include <dl.h>
 # else
 #  include <dlfcn.h>