diff mbox

[2/9] petitboot: Include limits.h

Message ID 491389E3.5020301@am.sony.com
State Accepted
Delegated to: Jeremy Kerr
Headers show

Commit Message

Geoff Levand Nov. 7, 2008, 12:20 a.m. UTC
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@am.sony.com>
---
 devices/petitboot-udev-helper.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Jeremy Kerr Dec. 7, 2008, 3:14 a.m. UTC | #1
Hi Geoff,

> Include limits.h.

Thanks, applied.


Jeremy
diff mbox

Patch

--- 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>