diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-29 07:52:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-29 07:52:04 +0000 |
commit | e6d82d4de870c4c32ce61177fe008bfddc79cce9 (patch) | |
tree | e05fa3db048841850eeee95e949d1694630fe01d | |
parent | 5d9b8c445d73d944c476a1ff3f8fee81e05c1ba8 (diff) |
seetexk: Include <config.h> and <kpathsea/config.h> always first
git-svn-id: svn://tug.org/texlive/trunk@31033 c570f23f-e606-0410-a88d-b1316a301751
-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) |