diff options
-rw-r--r-- | Build/source/texk/seetexk/ChangeLog | 3 | ||||
-rw-r--r-- | Build/source/texk/seetexk/error.c | 4 | ||||
-rw-r--r-- | Build/source/texk/seetexk/fio.c | 2 | ||||
-rw-r--r-- | Build/source/texk/seetexk/gripes0.c | 2 | ||||
-rw-r--r-- | Build/source/texk/seetexk/gripes1.c | 2 |
5 files changed, 8 insertions, 5 deletions
diff --git a/Build/source/texk/seetexk/ChangeLog b/Build/source/texk/seetexk/ChangeLog index 7e538f83cbb..394c88a4819 100644 --- a/Build/source/texk/seetexk/ChangeLog +++ b/Build/source/texk/seetexk/ChangeLog @@ -4,6 +4,9 @@ * search.c: Replace bcopy(f, t, l) => memcpy(t, f, l) and bzero(s, l) => memset(s, 0, l). + * error.c, fio.c, gripes0.c, gripes1.c: Include <config.h> and + <kpathsea/config.h> always first. + 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am: Avoid use of deprecated INCLUDES. diff --git a/Build/source/texk/seetexk/error.c b/Build/source/texk/seetexk/error.c index 6744f047deb..b17ace979b8 100644 --- a/Build/source/texk/seetexk/error.c +++ b/Build/source/texk/seetexk/error.c @@ -25,12 +25,12 @@ * optionally quit. * */ -#include <stdio.h> - #ifdef HAVE_CONFIG_H #include <config.h> #endif +#include <stdio.h> + #include "types.h" /* for HAVE_VPRINTF */ #include "error.h" #include "tempfile.h" diff --git a/Build/source/texk/seetexk/fio.c b/Build/source/texk/seetexk/fio.c index b6fbe959553..66087f47008 100644 --- a/Build/source/texk/seetexk/fio.c +++ b/Build/source/texk/seetexk/fio.c @@ -25,10 +25,10 @@ * N.B.: these believe they are working on a DVI file. */ -#include <stdio.h> #include "types.h" #include "error.h" #include "fio.h" +#include <stdio.h> static char eofmsg[] = "unexpected EOF, help"; diff --git a/Build/source/texk/seetexk/gripes0.c b/Build/source/texk/seetexk/gripes0.c index 82481527056..eb6792705f6 100644 --- a/Build/source/texk/seetexk/gripes0.c +++ b/Build/source/texk/seetexk/gripes0.c @@ -24,10 +24,10 @@ * Common errors (`gripes'). */ -#include <stdio.h> #include "types.h" #include "error.h" #include "gripes.h" +#include <stdio.h> #ifndef WIN32 extern int errno; diff --git a/Build/source/texk/seetexk/gripes1.c b/Build/source/texk/seetexk/gripes1.c index 2db8f1051b5..00c3885676b 100644 --- a/Build/source/texk/seetexk/gripes1.c +++ b/Build/source/texk/seetexk/gripes1.c @@ -24,11 +24,11 @@ * Gripes having to do with DVI files. */ -#include <stdio.h> #include "types.h" #include "error.h" #include "font.h" #include "gripes.h" +#include <stdio.h> static const char * dfn(void) |