about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/module.c b/Src/module.c
index 3e96108e9..a7e3ad329 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -319,7 +319,7 @@ load_and_bind(const char *fn)
 #else
 
 #ifdef HAVE_DLFCN_H
-# ifdef HAVE_DL_H
+# if defined(HAVE_DL_H) && defined(__hpux)
 #  include <dl.h>
 # else
 #  include <dlfcn.h>