* util/misc.c: Move inclusion of <limits.h> to ...
* kern/emu/misc.c: ... here. Needed for canonicalize_file_name.
This commit is contained in:
parent
fa9d256ee4
commit
96779aec8e
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-05-20 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* util/misc.c: Move inclusion of <limits.h> to ...
|
||||||
|
* kern/emu/misc.c: ... here. Needed for canonicalize_file_name.
|
||||||
|
|
||||||
2010-05-20 Grégoire Sutre <gregoire.sutre@gmail.com>
|
2010-05-20 Grégoire Sutre <gregoire.sutre@gmail.com>
|
||||||
|
|
||||||
* kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev) [__NetBSD__]:
|
* kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev) [__NetBSD__]:
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#ifdef HAVE_LIMITS_H
|
||||||
|
#include <limits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <grub/mm.h>
|
#include <grub/mm.h>
|
||||||
#include <grub/err.h>
|
#include <grub/err.h>
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#ifdef HAVE_LIMITS_H
|
|
||||||
#include <limits.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <grub/kernel.h>
|
#include <grub/kernel.h>
|
||||||
#include <grub/dl.h>
|
#include <grub/dl.h>
|
||||||
|
|
Loading…
Reference in a new issue