]> granicus.if.org Git - sudo/commitdiff
Add LINE_MAX define for those without it.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 20 Jul 2010 19:33:29 +0000 (15:33 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 20 Jul 2010 19:33:29 +0000 (15:33 -0400)
--HG--
branch : 1.7

sudoreplay.c

index 32b75c39f6aecc0025840e55422d6dd87e6b1cf9..52a84bf57a921e0eb5c87ed865c5670da17d8cd0 100644 (file)
 #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