* util/grub-mkrescue.c: Build fix for argp.h with older gcc.

This commit is contained in:
Vladimir Serbinenko 2014-02-03 14:35:51 +01:00
parent 511ece7ceb
commit 006c78f378
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2014-02-03 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkrescue.c: Build fix for argp.h with older gcc.
2014-02-03 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkfont.c: Build fix for argp.h with older gcc.

View file

@ -25,7 +25,11 @@
#include <grub/emu/exec.h>
#include <grub/emu/config.h>
#include <grub/emu/hostdisk.h>
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
#pragma GCC diagnostic ignored "-Wmissing-declarations"
#include <argp.h>
#pragma GCC diagnostic error "-Wmissing-prototypes"
#pragma GCC diagnostic error "-Wmissing-declarations"
#include <sys/types.h>
#include <sys/wait.h>