OSDN Git Service

PR gcc/46902
[pf3gnuchains/gcc-fork.git] / gcc / system.h
index a9a29f1..0bf9b92 100644 (file)
@@ -583,6 +583,11 @@ extern int vsnprintf(char *, size_t, const char *, va_list);
 # endif
 #endif
 
+#if defined (ENABLE_PLUGIN) && defined (HAVE_DLFCN_H)
+/* If plugin support is enabled, we could use libdl.  */
+#include <dlfcn.h>
+#endif
+
 /* Get libiberty declarations.  */
 #include "libiberty.h"