tools/objinfo: workaround change in binutils' <bfd.h>

(Report and fix by Christopher Zimmerman)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Gabriel Scherer 2014-08-15 13:19:23 +00:00
parent 6e08943af9
commit 1a87dee8e3
1 changed files with 5 additions and 0 deletions

View File

@ -17,7 +17,12 @@
#ifdef HAS_LIBBFD
#include <stdlib.h>
#include <string.h>
// PACKAGE: protect against binutils change
// https://sourceware.org/bugzilla/show_bug.cgi?id=14243
#define PACKAGE "ocamlobjinfo"
#include <bfd.h>
#undef PACKAGE
int main(int argc, char ** argv)
{