mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
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:
1 parent
ad297ec734
commit
71c1d67a34
7 files changed
+10
-2
No files matched your search
@@ -24,7 +24,6 @@
|
||||
|
||||
#include <grub/symbol.h>
|
||||
#include <grub/types.h>
|
||||
#include <grub/osdep/hostfile.h>
|
||||
|
||||
extern int verbosity;
|
||||
extern const char *program_name;
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <grub/types.h>
|
||||
#include <grub/symbol.h>
|
||||
#include <grub/emu/misc.h>
|
||||
#include <grub/osdep/hostfile.h>
|
||||
|
||||
char *grub_util_get_path (const char *dir, const char *file);
|
||||
size_t grub_util_get_image_size (const char *path);
|
||||
|
||||
Reference in new issue
Block a user