Need SIZE_MAX to be defined when there's no libreadline
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 25 Mar 2008 09:13:51 +0000 (09:13 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 25 Mar 2008 09:13:51 +0000 (09:13 +0000)
src/ui/terminal/read-line.c

index 1cd65c0ae73530f485fe1d3e6b835e28c6638d23..7b23f38d2f359b58ecec1635970904d732edad5c 100644 (file)
@@ -22,6 +22,9 @@
 #include <stdbool.h>
 #include <assert.h>
 #include <errno.h>
+#if ! HAVE_READLINE
+#include <stdint.h>
+#endif
 
 #include "msg-ui.h"