summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorDenys Vlasenko2020-12-17 11:22:44 +0100
committerDenys Vlasenko2020-12-17 11:22:44 +0100
commit072313162870e9675c3e6f346a804a324a907f93 (patch)
tree738f3dc4f7aea9d62ad10c06ed8f8244eef4be44 /applets
parentbb15969333d0476256c92edc068894a50d9159d4 (diff)
downloadbusybox-072313162870e9675c3e6f346a804a324a907f93.zip
busybox-072313162870e9675c3e6f346a804a324a907f93.tar.gz
Fixes for Hurd build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets')
-rw-r--r--applets/applet_tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/applet_tables.c b/applets/applet_tables.c
index ce20374..7ba929b 100644
--- a/applets/applet_tables.c
+++ b/applets/applet_tables.c
@@ -20,6 +20,10 @@
#undef ARRAY_SIZE
#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
#include "../include/autoconf.h"
#include "../include/applet_metadata.h"