summaryrefslogtreecommitdiff
path: root/ld/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/sysdep.h')
-rw-r--r--ld/sysdep.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/sysdep.h b/ld/sysdep.h
index 9dfae105d5..b7d5b88a85 100644
--- a/ld/sysdep.h
+++ b/ld/sysdep.h
@@ -90,8 +90,7 @@ extern char *strrchr ();
#endif
#endif
-/* This is both more precise than and includes HAVE_DLFCN_H. */
-#ifdef ENABLE_PLUGINS
+#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif