[common] fix build under arch, thanks @techfreak for pointing this out

This commit is contained in:
Geoffrey McRae 2019-04-12 12:16:15 +10:00
parent 338bc2e0dc
commit 972ff93e6c
2 changed files with 20 additions and 1 deletions

19
common/src/bfd.inc.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef PACKAGE
#define PACKAGE
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION
#include <bfd.h>
#undef PACKAGE_VERSION
#else
#include <bfd.h>
#endif
#undef PACKAGE
#else
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION
#include <bfd.h>
#undef PACKAGE_VERSION
#else
#include <bfd.h>
#endif
#endif

View File

@ -32,7 +32,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <limits.h>
#include <link.h>
#include <bfd.h>
#include "bfd.inc.h"
struct range
{