]> granicus.if.org Git - neomutt/commitdiff
debian: hurd build fix
authorRichard Russon <rich@flatcap.org>
Sat, 19 Mar 2016 15:12:21 +0000 (15:12 +0000)
committerRichard Russon <rich@flatcap.org>
Thu, 18 Aug 2016 15:14:08 +0000 (16:14 +0100)
Hurd is missing a definition for PATH_MAX.

mutt.h

diff --git a/mutt.h b/mutt.h
index bd66fd8ba7b14c64cd476b4d24fc0c5d554b354d..e2114f7a6592580ec010cda4011d7ebfafa91674 100644 (file)
--- a/mutt.h
+++ b/mutt.h
 #include <limits.h>
 #endif
 
+/* PATH_MAX is undefined on the hurd */
+#ifndef PATH_MAX
+#define PATH_MAX _POSIX_PATH_MAX
+#endif
+
 #include <pwd.h>
 #include <grp.h>