dont override PATH_MAX, include limits.h - pointtools - Simple point utilities to hold text presentations. HTML git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 652effdccb79e855608f252a286586df5020105b DIR parent ed63e58c9395f38477c7db1795f507fb70f80aee HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 29 Apr 2020 18:58:30 +0200 dont override PATH_MAX, include limits.h Signed-off-by: Christoph Lohmann <20h@r-36.net> Diffstat: M md2point.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/md2point.c b/md2point.c @@ -2,13 +2,12 @@ * See LICENSE for license details. */ #include <unistd.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <err.h> #include <string.h> -#define PATH_MAX 128 - char buf[PATH_MAX]; /* from git://bitreich.org/utf8expr */