From: Ricardo Mones <mones@debian.org>
Date: Sun, 31 Jan 2021 22:33:27 -0500
Subject: Fix FTBFS on hurd-i386 wwviaudio.c:115:15: error: 'PATH_MAX'
 undeclared (first use in this function); did you mean 'INT8_MAX'?

Forwarded: no
Last-Update: 2020-09-11
---
 wordwarvi.c | 5 +++++
 wwviaudio.c | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/wordwarvi.c b/wordwarvi.c
index 71f6589..d0e2142 100644
--- a/wordwarvi.c
+++ b/wordwarvi.c
@@ -36,6 +36,11 @@
 #include <winsock2.h> /* htonl */
 #endif /* __WIN32__ */
 
+/* The HURD doesn't have this */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #include <gdk/gdkkeysyms.h>
 
 #ifdef DO_INHIBIT_SCREENSAVER
diff --git a/wwviaudio.c b/wwviaudio.c
index 25707ae..2128cf0 100644
--- a/wwviaudio.c
+++ b/wwviaudio.c
@@ -31,6 +31,11 @@
 #include <stdlib.h>
 #include <inttypes.h>
 
+/* The HURD doesn't have this */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #define WWVIAUDIO_DEFINE_GLOBALS
 #include "wwviaudio.h"
 #undef WWVIAUDIO_DEFINE_GLOBALS
