--- a/Config.h
+++ b/Config.h
@@ -54,6 +54,14 @@
    binkd loads it for tray icon */
 #define BINKD_ICON_FILE "binkd.ico"
 
+/* for the benefit of Hurd systems, which are too good to have static limits */
+#ifndef _MAX_PATH
+#  define _MAX_PATH 512
+#endif
+#ifndef MAXPATHLEN
+#  define MAXPATHLEN _MAX_PATH
+#endif
+
 /* Please, no spaces here! */
 #define PRTCLNAME "binkp"
 #define PRTCLVER "1.1"
