--- a/src/yppasswd.c
+++ b/src/yppasswd.c
@@ -45,6 +45,11 @@
 #include <rpcsvc/ypclnt.h>
 #include <rpcsvc/yppasswd.h>
 
+/* GNU Hurd */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #ifndef _
 #define _(String) gettext (String)
 #endif
