am f3772351: am a865f6d8: fix mkbootfs for systems that lack PATH_MAX
* commit 'f3772351e75ce7e7d117fc4e31bde0c243581316':
fix mkbootfs for systems that lack PATH_MAX
diff --git a/cpio/mkbootfs.c b/cpio/mkbootfs.c
index b7eb8c9..323a09d 100644
--- a/cpio/mkbootfs.c
+++ b/cpio/mkbootfs.c
@@ -44,7 +44,11 @@
/* Each line in the canned file should be a path plus three ints (uid,
* gid, mode). */
+#ifdef PATH_MAX
#define CANNED_LINE_LENGTH (PATH_MAX+100)
+#else
+#define CANNED_LINE_LENGTH (1024)
+#endif
static int verbose = 0;
static int total_size = 0;