diff --git a/instrument-functions.c b/instrument-functions.c index ba0a56a53..6a472a5fa 100644 --- a/instrument-functions.c +++ b/instrument-functions.c @@ -15,7 +15,15 @@ #include #include #include + +/* + * The binutils bfd header has a weird inclusion guard, requiring this + * macro to be defined. Some distributions patch the guard out, others + * don't. + */ +#define PACKAGE "binutils-bfd.h-guard-workaround" #include +#undef PACKAGE /* * Generate instrumentation calls for entry and exit to functions.