summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-02 23:45:23 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-02 23:45:23 +0000
commit0b0a9a449d38232d87667344b8f54351958f9456 (patch)
treec187540e73f56ac19b14831de0cffe4a19056e63 /include
parent3ff4c54cc8d01d51457e4a4af0ea46ad8054adf9 (diff)
dlfcn.h exists only if __HAVE_SHARED__ ("we are built with shared lib support"),
not when !__HAVE_NO_SHARED__ ("arch can theoretically support shred libs")
Diffstat (limited to 'include')
-rw-r--r--include/link.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 78726852b..6ce15df5f 100644
--- a/include/link.h
+++ b/include/link.h
@@ -23,7 +23,7 @@
#include <features.h>
#include <elf.h>
-#ifndef __HAVE_NO_SHARED__
+#ifdef __HAVE_SHARED__
#include <dlfcn.h>
#endif
#include <sys/types.h>