commit 652effdccb79e855608f252a286586df5020105b
parent ed63e58c9395f38477c7db1795f507fb70f80aee
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:
1 file changed, 1 insertion(+), 2 deletions(-)
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 */