summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvidvi
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-28 13:27:05 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-28 13:27:05 +0000
commit63800a99fb223f2d7c4253c71a0488af1aede23e (patch)
treefcad34bcd26d2bba3158453e4482b8c0b681ba70 /Build/source/texk/dvidvi
parent5c8f5c4c20e8920b2f8e2c74653551163bda28de (diff)
Include the Autoconf generated headers always first
git-svn-id: svn://tug.org/texlive/trunk@31002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvidvi')
-rw-r--r--Build/source/texk/dvidvi/ChangeLog4
-rw-r--r--Build/source/texk/dvidvi/dvidvi.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/texk/dvidvi/ChangeLog b/Build/source/texk/dvidvi/ChangeLog
index 6a0f52d4ae3..d8dccbbf9d4 100644
--- a/Build/source/texk/dvidvi/ChangeLog
+++ b/Build/source/texk/dvidvi/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-28 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dvidvi.c: First include <config.h>.
+
2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Avoid use of deprecated INCLUDES.
diff --git a/Build/source/texk/dvidvi/dvidvi.c b/Build/source/texk/dvidvi/dvidvi.c
index 65d353bb00d..cc49995750a 100644
--- a/Build/source/texk/dvidvi/dvidvi.c
+++ b/Build/source/texk/dvidvi/dvidvi.c
@@ -38,6 +38,10 @@
"Improved from 1.0 to 1.1, 1994, Markus Kohm\n"
#define STRINGSIZE (500L) /* maximum number of strings in program */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef VMS
#include <stdlib.h>
#ifdef WIN32
@@ -55,10 +59,6 @@ void error(const char *);
/* defines READBIN, WRITEBIN, PATHSEP and IS_DIR_SEP*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif