summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2008-11-06 16:20:51 -0800
committerJeremy Kerr <jk@ozlabs.org>2008-12-07 10:34:41 +1100
commit4e7154095cbdab8d95a7ffea6c54684928bac781 (patch)
treee3912e7d97d4ab4622b8803529432558acde3cfb
parentba87731ad84f9c91d361a03c4c2e40a4a38acc96 (diff)
downloadtalos-petitboot-4e7154095cbdab8d95a7ffea6c54684928bac781.tar.gz
talos-petitboot-4e7154095cbdab8d95a7ffea6c54684928bac781.zip
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> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--devices/petitboot-udev-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/devices/petitboot-udev-helper.c b/devices/petitboot-udev-helper.c
index 87a7fc1..f2f15b1 100644
--- 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>
OpenPOWER on IntegriCloud