summaryrefslogtreecommitdiff
path: root/src/unexsunos4.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-02-20 19:45:18 +0000
committerRoland McGrath <roland@gnu.org>1994-02-20 19:45:18 +0000
commitef4078b3d7e7e3b96c07956a21b8d49c62977734 (patch)
treedca6a8bdab6b6e9bb1a8ccca5db490ea182f6a15 /src/unexsunos4.c
parentfaf1591fa0a96915074264a50bbf08fdb8281e6c (diff)
downloademacs-ef4078b3d7e7e3b96c07956a21b8d49c62977734.tar.gz
Move config.h after system includes.
Diffstat (limited to 'src/unexsunos4.c')
-rw-r--r--src/unexsunos4.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/unexsunos4.c b/src/unexsunos4.c
index 48934f21447..fd0f7ec419c 100644
--- a/src/unexsunos4.c
+++ b/src/unexsunos4.c
@@ -23,10 +23,6 @@
* is somewhat abused here) is loaded first!
*
*/
-#ifdef emacs
-#include <config.h>
-#endif
-
#include <sys/param.h>
#include <sys/mman.h>
#include <sys/file.h>
@@ -35,6 +31,13 @@
#include <stdio.h>
#include <a.out.h>
+/* Do this after the above #include's in case a configuration file wants
+ to define things for this file based on what <a.out.h> defines. */
+#ifdef emacs
+#include <config.h>
+#endif
+
+
/* NetBSD needs this bit, but SunOS does not have it. */
#ifndef MAP_FILE
#define MAP_FILE 0