commit aab4991dda273b4085a5975f779a5b63f80f714a
parent 012662ab89da6058a3ffaa4f8ca06da3ac3fca3c
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Mon, 24 Apr 2017 14:25:24 +0530
Merge pull request #14 from szlin/master
Add definition of PATH_MAX on GNU/Hurd
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/nnn.c b/nnn.c
@@ -13,6 +13,9 @@
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
+#ifdef __gnu_hurd__
+#define PATH_MAX 4096
+#endif
#include <locale.h>
#include <pwd.h>
#include <regex.h>