From 072313162870e9675c3e6f346a804a324a907f93 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Thu, 17 Dec 2020 11:22:44 +0100
Subject: Fixes for Hurd build

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 applets/applet_tables.c | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'applets')

diff --git a/applets/applet_tables.c b/applets/applet_tables.c
index ce2037440..7ba929b12 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"
 
-- 
cgit v1.2.3