Message ID | 491389E3.5020301@am.sony.com |
---|---|
State | Accepted |
Delegated to: | Jeremy Kerr |
Headers | show |
Hi Geoff,
> Include limits.h.
Thanks, applied.
Jeremy
--- 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>
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(+)