Avoid including hostfile.h when not necessarry as it pulls

in OS-specific headers which may redefine generic names
	like "far".
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-10 09:18:06 +02:00
parent ad297ec734
commit 71c1d67a34
7 changed files with 10 additions and 2 deletions

View file

@ -43,6 +43,7 @@
#include <grub/uboot/image.h>
#include <grub/arm/reloc.h>
#include <grub/ia64/reloc.h>
#include <grub/osdep/hostfile.h>
#define _GNU_SOURCE 1
#include <argp.h>