aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1995-06-10 21:45:43 +0000
committerGeoff Voelker1995-06-10 21:45:43 +0000
commit6816efced2e8bfc2feeccf980bd9be4a75d5aeb7 (patch)
tree50487135a3ad95d955824099646616584a100576 /src
parent515f7b32979a1cad0475140773dd339283491b06 (diff)
downloademacs-6816efced2e8bfc2feeccf980bd9be4a75d5aeb7.tar.gz
emacs-6816efced2e8bfc2feeccf980bd9be4a75d5aeb7.zip
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)
56 return (str ? str : "Sun Jan 01 00:00:00 1970"); 56 return (str ? str : "Sun Jan 01 00:00:00 1970");
57} 57}
58 58
59#include <config.h>
59#include <windows.h> 60#include <windows.h>
60#include <stdlib.h> 61#include <stdlib.h>
61#include <stdio.h> 62#include <stdio.h>
@@ -63,7 +64,6 @@ nt_ctime (const time_t *t)
63#include <fcntl.h> 64#include <fcntl.h>
64#include <ctype.h> 65#include <ctype.h>
65 66
66#include "config.h"
67#define getwd _getwd 67#define getwd _getwd
68#include "lisp.h" 68#include "lisp.h"
69#undef getwd 69#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 @@
22*/ 22*/
23 23
24 24
25#include <config.h>
26
25#include <stdlib.h> 27#include <stdlib.h>
26#include <stdio.h> 28#include <stdio.h>
27
28#include "config.h"
29
30#include <windows.h> 29#include <windows.h>
31 30
32#include "lisp.h" 31#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 @@
21 Adapted from alarm.c by Tim Fleehart 21 Adapted from alarm.c by Tim Fleehart
22*/ 22*/
23 23
24#include <config.h>
25
24#include <stdio.h> 26#include <stdio.h>
25#include <stdlib.h> 27#include <stdlib.h>
26#include <errno.h> 28#include <errno.h>
27#include <io.h> 29#include <io.h>
28#include <signal.h> 30#include <signal.h>
29 31
30#include "config.h"
31
32#include <windows.h> 32#include <windows.h>
33 33
34#include "lisp.h" 34#include "lisp.h"