summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1995-06-10 21:45:43 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1995-06-10 21:45:43 +0000
commita05a10b1f842776f7d37ac330f64a70353568e79 (patch)
tree5d78d58922fc5ff884e09368df78825dd0fd9d35 /src
parent3d72c74bae008550fca01c5dc7cf6de12df2db26 (diff)
downloademacs-a05a10b1f842776f7d37ac330f64a70353568e79.tar.gz
Include config.h before stdio.h.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c2
-rw-r--r--src/w32console.c5
-rw-r--r--src/w32proc.c4
3 files changed, 5 insertions, 6 deletions
diff --git a/src/w32.c b/src/w32.c
index 9829e2b24d4..12da76bb61d 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -56,6 +56,7 @@ nt_ctime (const time_t *t)
return (str ? str : "Sun Jan 01 00:00:00 1970");
}
+#include <config.h>
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
@@ -63,7 +64,6 @@ nt_ctime (const time_t *t)
#include <fcntl.h>
#include <ctype.h>
-#include "config.h"
#define getwd _getwd
#include "lisp.h"
#undef getwd
diff --git a/src/w32console.c b/src/w32console.c
index 9973fe41b3d..037c21e3038 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -22,11 +22,10 @@
*/
+#include <config.h>
+
#include <stdlib.h>
#include <stdio.h>
-
-#include "config.h"
-
#include <windows.h>
#include "lisp.h"
diff --git a/src/w32proc.c b/src/w32proc.c
index 2b364a00065..981876e6b16 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -21,14 +21,14 @@
Adapted from alarm.c by Tim Fleehart
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <io.h>
#include <signal.h>
-#include "config.h"
-
#include <windows.h>
#include "lisp.h"