[Cbe-oss-dev] [patch 2/9] petitboot: Include limits.h

Geoff Levand geoffrey.levand at am.sony.com
Fri Nov 7 11:20:51 EST 2008


Include limits.h.

Fixes these build errors:

  petitboot-udev-helper.c:415: error: 'PATH_MAX' undeclared
  petitboot-udev-helper.c:496: error: 'INT_MAX' undeclared

Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
---
 devices/petitboot-udev-helper.c |    1 +
 1 file changed, 1 insertion(+)

--- a/devices/petitboot-udev-helper.c
+++ b/devices/petitboot-udev-helper.c
@@ -6,6 +6,7 @@
 #include <stdarg.h>
 #include <stdint.h>
 #include <unistd.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>

-- 






More information about the cbe-oss-dev mailing list