summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>