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
commit26e0a910b0f1945aec5f76433a6c9b7c82371046 (patch)
treebde50cfe5f6cb507d1a80b96a4928e92f0975e49 /src/unexsunos4.c
parent4f480b74d7fe183bc55103eaa73541f59a8413eb (diff)
downloademacs-26e0a910b0f1945aec5f76433a6c9b7c82371046.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