aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/plugin.c')
-rw-r--r--gcc/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/plugin.c b/gcc/plugin.c
index 3b7cc78..a8c2eea 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -38,7 +38,9 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "plugin.h"
#include "timevar.h"
+#ifdef ENABLE_PLUGIN
#include "plugin-version.h"
+#endif
/* Event names as strings. Keep in sync with enum plugin_event. */
const char *plugin_event_name[] =