From a855fa2accfe84e0a93dce3905bada4c488dc73d Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Sat, 12 Jul 2008 02:13:22 +0000
Subject: [PATCH] 2008-07-11 Michael Haubenwallner
 <michael.haubenwallner@salomon.at>         * global.c: include proto.h
 earlier in file to fix AIX compilation           (Savannah patch 6559)

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

diff --git a/ChangeLog b/ChangeLog
index bae4cd4c..8d1d8202 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
+2008-07-11 Michael Haubenwallner <michael.haubenwallner@salomon.at>
+	* global.c: include proto.h earlier in file to fix AIX compilation
+	  (Savannah patch 6559)
+
 2008-07-11 Mitsuya Shibata <mty.shibata@gmail.com>
 	* text.c: Fix crashing in help menu when using certain locales
+	  (Savannah bug 23751)
 
 2008-07-09 Chris Allegretta <chrisa@asty.org>
         * nano.c/nano.h/global.c/text.c: New generalized undo code, currently
diff --git a/src/global.c b/src/global.c
index 7daa9aff..addb5fe1 100644
--- a/src/global.c
+++ b/src/global.c
@@ -21,11 +21,12 @@
  *                                                                        *
  **************************************************************************/
 
+#include "proto.h"
+
 #include <ctype.h>
 #include <string.h>
 #include <strings.h>
 #include "assert.h"
-#include "proto.h"
 
 /* Global variables. */
 #ifndef NANO_TINY
-- 
GitLab