From ee11c6a62fb7f015dd8e20016162df43c3897323 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 2 Nov 2005 19:42:02 +0000
Subject: [PATCH] add missing stdio.h #include to text.c too

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3077 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog  | 2 +-
 src/text.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 5830d2d1..92d5ab78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,7 +19,7 @@ CVS code -
 	  strlenpt(), check_linenumbers(), dump_buffer(), and
 	  dump_buffer_reverse() from winio.c to utils.c, as they're
 	  really utility functions. (DLR)
-	- Add missing stdio.h #include to winio.c. (DLR)
+	- Add missing stdio.h #include to text.c and winio.c. (DLR)
 	- Move functions specific to the statusbar prompt to their own
 	  source file, adjust related variables accordingly, and rename
 	  variable resetstatuspos reset_statusbar_x.  New file prompt.c;
diff --git a/src/text.c b/src/text.c
index dc3d59b2..5ed4cc9e 100644
--- a/src/text.c
+++ b/src/text.c
@@ -24,6 +24,7 @@
 #include <config.h>
 #endif
 
+#include <stdio.h>
 #include <signal.h>
 #include <unistd.h>
 #include <string.h>
-- 
GitLab