OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR gcc/46902
[pf3gnuchains/gcc-fork.git]
/
gcc
/
system.h
diff --git
a/gcc/system.h
b/gcc/system.h
index
a9a29f1
..
0bf9b92
100644
(file)
--- a/
gcc/system.h
+++ b/
gcc/system.h
@@
-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"