summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/psnews.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-02 14:18:04 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-02 14:18:04 +0000
commitec22b69d36a5c2efaaf68b803ff8eaa6d950eb38 (patch)
tree62cff8a7f900a7613a0f742aaf5462da5b55c60d /Build/source/texk/xdvik/psnews.c
parent09b4b412a3fcdfee5bc8414b559f0396c66d14a3 (diff)
xdvik: Include "xdvi-config.h" first in all compilable source files but not in headers,
as claimed in a comment at the top of xdvi-config.h git-svn-id: svn://tug.org/texlive/trunk@31070 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/psnews.c')
-rw-r--r--Build/source/texk/xdvik/psnews.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/xdvik/psnews.c b/Build/source/texk/xdvik/psnews.c
index 9fb9c2a2300..44b26d6b26e 100644
--- a/Build/source/texk/xdvik/psnews.c
+++ b/Build/source/texk/xdvik/psnews.c
@@ -38,6 +38,12 @@ package by Dirk Grunwald (grunwald@colorado.edu).
#ifdef PS_NEWS /* whole file */
+#include "xdvi-config.h"
+#include "xdvi.h"
+#include "events.h"
+#include "dvi-init.h"
+#include "dvi-draw.h"
+
#include <signal.h>
#include <sys/file.h> /* this defines FASYNC */
#include <X11/X.h>
@@ -50,12 +56,6 @@ package by Dirk Grunwald (grunwald@colorado.edu).
#include <errno.h>
#include <setjmp.h>
-#include "xdvi-config.h"
-#include "xdvi.h"
-#include "events.h"
-#include "dvi-init.h"
-#include "dvi-draw.h"
-
/* if POSIX O_NONBLOCK is not available, use O_NDELAY */
#if !defined(O_NONBLOCK) && defined(O_NDELAY)
#define O_NONBLOCK O_NDELAY