summaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-30 08:05:31 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-30 08:05:31 +0000
commitc2cf4a47c87fe825fb67a14bdab8f859771b6326 (patch)
treea184dbe7a23cbb07b1e15bc9247abd591e4078ec /gcc/plugin.c
parentc5e004046a04dfa21751bbaa75ec910ccc8c6e41 (diff)
downloadgcc-c2cf4a47c87fe825fb67a14bdab8f859771b6326.tar.gz
2009-04-30 Rafael Avila de Espindola <espindola@google.com>
* plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146998 138bc75d-0d04-0410-961f-82ee72b054a4
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 3b7cc78a193..a8c2eeaffb2 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[] =