From: Todd C. Miller Date: Tue, 20 Jul 2010 19:33:29 +0000 (-0400) Subject: Add LINE_MAX define for those without it. X-Git-Tag: SUDO_1_7_4~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d99fbb9926d153b3c2a4b29ad7a9ebac707f9877;p=sudo Add LINE_MAX define for those without it. --HG-- branch : 1.7 --- diff --git a/sudoreplay.c b/sudoreplay.c index 32b75c39f..52a84bf57 100644 --- a/sudoreplay.c +++ b/sudoreplay.c @@ -87,6 +87,10 @@ #include "error.h" #include "missing.h" +#ifndef LINE_MAX +# define LINE_MAX 2048 +#endif + /* Must match the defines in iolog.c */ #define IOFD_STDIN 0 #define IOFD_STDOUT 1