]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/misc.c: Move inclusion of <limits.h> to ...
authorColin Watson <cjwatson@ubuntu.com>
Thu, 20 May 2010 22:16:10 +0000 (23:16 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Thu, 20 May 2010 22:16:10 +0000 (23:16 +0100)
* kern/emu/misc.c: ... here.  Needed for canonicalize_file_name.

ChangeLog
kern/emu/misc.c
util/misc.c

index 1348c91c692704f1da87d06b348747898f56ffaf..42b04d1c9d94c86b762ed886475ac52997a38e12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev) [__NetBSD__]:
index 54c808a4785740fd53cd9125e617d5116fd6f8ab..a3ccb30766e2d8d710f5bafe20b6b7f286f154a4 100644 (file)
@@ -9,6 +9,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
 
 #include <grub/mm.h>
 #include <grub/err.h>
index 46e5c60930bb21c131695c3be50322ba573e6148..91bc25a554ec98769837d83f7ebb4f799ead083f 100644 (file)
@@ -30,9 +30,6 @@
 #include <sys/time.h>
 #include <unistd.h>
 #include <time.h>
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
 
 #include <grub/kernel.h>
 #include <grub/dl.h>