summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/libttf
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-01 08:04:56 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-01 08:04:56 +0000
commit21da4b78d9a71233925d5e6643f9fcf8d3627f55 (patch)
treef4188138bca1d9b46d3d0d5f0d04a63ae369e33d /Build/source/texk/ttfdump/libttf
parent7fc9f508f098379648079f65076eaadabffc2b7e (diff)
ttfdump: Always first include <config.h>
git-svn-id: svn://tug.org/texlive/trunk@31053 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttfdump/libttf')
-rw-r--r--Build/source/texk/ttfdump/libttf/cmap.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/cvt.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/disasm.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/font.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/fpgm.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/gasp.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/gcache.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/glyf.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/gpos.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/gstate.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/gsub.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/hdmx.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/head.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/hhea.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/hmtx.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/kern.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/loca.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/ltsh.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/maxp.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/name.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/os2.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/otfcommon.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/pclt.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/post.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/prep.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/tabledir.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/ttc.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/ttfread.c4
-rw-r--r--Build/source/texk/ttfdump/libttf/ttfutil.c4
-rw-r--r--Build/source/texk/ttfdump/libttf/vdmx.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/vhea.c5
-rw-r--r--Build/source/texk/ttfdump/libttf/vmtx.c5
32 files changed, 128 insertions, 30 deletions
diff --git a/Build/source/texk/ttfdump/libttf/cmap.c b/Build/source/texk/ttfdump/libttf/cmap.c
index c3ae65f3b61..1d1a68fb530 100644
--- a/Build/source/texk/ttfdump/libttf/cmap.c
+++ b/Build/source/texk/ttfdump/libttf/cmap.c
@@ -41,9 +41,12 @@
* Problem with Character Code vs. Byte Endianess.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/cvt.c b/Build/source/texk/ttfdump/libttf/cvt.c
index 2621a938e62..6af49920bfc 100644
--- a/Build/source/texk/ttfdump/libttf/cvt.c
+++ b/Build/source/texk/ttfdump/libttf/cvt.c
@@ -1,9 +1,12 @@
/* cvt.c -- Control Value Table
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/disasm.c b/Build/source/texk/ttfdump/libttf/disasm.c
index e716ea72a04..8b26895ebb8 100644
--- a/Build/source/texk/ttfdump/libttf/disasm.c
+++ b/Build/source/texk/ttfdump/libttf/disasm.c
@@ -1,6 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/font.c b/Build/source/texk/ttfdump/libttf/font.c
index 5bf4c633b94..4aa74e34e99 100644
--- a/Build/source/texk/ttfdump/libttf/font.c
+++ b/Build/source/texk/ttfdump/libttf/font.c
@@ -1,10 +1,13 @@
/* font.c -- general font init and clean up codes
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
#include "protos.h"
diff --git a/Build/source/texk/ttfdump/libttf/fpgm.c b/Build/source/texk/ttfdump/libttf/fpgm.c
index 0eb35ea1c8f..99c5c3ca7ba 100644
--- a/Build/source/texk/ttfdump/libttf/fpgm.c
+++ b/Build/source/texk/ttfdump/libttf/fpgm.c
@@ -1,9 +1,12 @@
/* fpgm.c -- Font Program
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/gasp.c b/Build/source/texk/ttfdump/libttf/gasp.c
index 34bf5111237..9f3aadc467b 100644
--- a/Build/source/texk/ttfdump/libttf/gasp.c
+++ b/Build/source/texk/ttfdump/libttf/gasp.c
@@ -1,9 +1,12 @@
/* gasp.c -- Grid-fitting And Scan-conversion Procedure
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/gcache.c b/Build/source/texk/ttfdump/libttf/gcache.c
index 5666d040a42..b501530a1e1 100644
--- a/Build/source/texk/ttfdump/libttf/gcache.c
+++ b/Build/source/texk/ttfdump/libttf/gcache.c
@@ -76,10 +76,13 @@
* It is not clear right now if it is wise to add tree balancing code.
* The overhaed introduced by BST seems minimal for 256 elements cache.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/glyf.c b/Build/source/texk/ttfdump/libttf/glyf.c
index ca922d0e07f..9ab63cab99e 100644
--- a/Build/source/texk/ttfdump/libttf/glyf.c
+++ b/Build/source/texk/ttfdump/libttf/glyf.c
@@ -1,10 +1,13 @@
/* glyf.c -- Load and print Glyf outline data
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/gpos.c b/Build/source/texk/ttfdump/libttf/gpos.c
index 5ece428e110..bc01e29cf24 100644
--- a/Build/source/texk/ttfdump/libttf/gpos.c
+++ b/Build/source/texk/ttfdump/libttf/gpos.c
@@ -1,8 +1,11 @@
/* gpos.c -- Glyph Positioning Table
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/gstate.c b/Build/source/texk/ttfdump/libttf/gstate.c
index d436bae3569..d8b7adcca79 100644
--- a/Build/source/texk/ttfdump/libttf/gstate.c
+++ b/Build/source/texk/ttfdump/libttf/gstate.c
@@ -1,8 +1,11 @@
/* gstate.c -- manage graphics state
* Copyright (C) 1996 Li-Da Lho, All right reserved.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/gsub.c b/Build/source/texk/ttfdump/libttf/gsub.c
index a0c8549bfc2..b0ca3ee5b54 100644
--- a/Build/source/texk/ttfdump/libttf/gsub.c
+++ b/Build/source/texk/ttfdump/libttf/gsub.c
@@ -1,8 +1,11 @@
/* gsub.c -- Glyph Substitution Table
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/hdmx.c b/Build/source/texk/ttfdump/libttf/hdmx.c
index f4d7b0ef3a2..d91b98eb1b3 100644
--- a/Build/source/texk/ttfdump/libttf/hdmx.c
+++ b/Build/source/texk/ttfdump/libttf/hdmx.c
@@ -1,9 +1,12 @@
/* hdmx.c -- Horizontal Device Metrics
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/head.c b/Build/source/texk/ttfdump/libttf/head.c
index eec89cc9b2c..bc07fc7baf1 100644
--- a/Build/source/texk/ttfdump/libttf/head.c
+++ b/Build/source/texk/ttfdump/libttf/head.c
@@ -1,9 +1,12 @@
/* head.c -- Header Table
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/hhea.c b/Build/source/texk/ttfdump/libttf/hhea.c
index 3ec85c827d4..6d8d9caecf1 100644
--- a/Build/source/texk/ttfdump/libttf/hhea.c
+++ b/Build/source/texk/ttfdump/libttf/hhea.c
@@ -1,9 +1,12 @@
/* hhea.c -- Horizontal header
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/hmtx.c b/Build/source/texk/ttfdump/libttf/hmtx.c
index 1dc40d06d8d..dfcd60670d7 100644
--- a/Build/source/texk/ttfdump/libttf/hmtx.c
+++ b/Build/source/texk/ttfdump/libttf/hmtx.c
@@ -1,9 +1,12 @@
/* hmtx.c -- Horizontal Metrics Table
* Copyright (C) 1997 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/kern.c b/Build/source/texk/ttfdump/libttf/kern.c
index 54104a0aba4..5ae636d9d44 100644
--- a/Build/source/texk/ttfdump/libttf/kern.c
+++ b/Build/source/texk/ttfdump/libttf/kern.c
@@ -1,9 +1,12 @@
/* kern.c -- Kerning Table
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/loca.c b/Build/source/texk/ttfdump/libttf/loca.c
index 5342fbf20c3..0a170006389 100644
--- a/Build/source/texk/ttfdump/libttf/loca.c
+++ b/Build/source/texk/ttfdump/libttf/loca.c
@@ -1,6 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/ltsh.c b/Build/source/texk/ttfdump/libttf/ltsh.c
index a433c32a06a..45c6f86e559 100644
--- a/Build/source/texk/ttfdump/libttf/ltsh.c
+++ b/Build/source/texk/ttfdump/libttf/ltsh.c
@@ -1,9 +1,12 @@
/* ltsh.c -- Linear Threshold table
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/maxp.c b/Build/source/texk/ttfdump/libttf/maxp.c
index 1b36fb2690b..1eadc12108a 100644
--- a/Build/source/texk/ttfdump/libttf/maxp.c
+++ b/Build/source/texk/ttfdump/libttf/maxp.c
@@ -1,6 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/name.c b/Build/source/texk/ttfdump/libttf/name.c
index 2ccc971c688..7f708b55c51 100644
--- a/Build/source/texk/ttfdump/libttf/name.c
+++ b/Build/source/texk/ttfdump/libttf/name.c
@@ -1,8 +1,11 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/os2.c b/Build/source/texk/ttfdump/libttf/os2.c
index e78e75811da..66701e3dc61 100644
--- a/Build/source/texk/ttfdump/libttf/os2.c
+++ b/Build/source/texk/ttfdump/libttf/os2.c
@@ -1,7 +1,10 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/otfcommon.c b/Build/source/texk/ttfdump/libttf/otfcommon.c
index 4642e73196a..55cb46c8ff7 100644
--- a/Build/source/texk/ttfdump/libttf/otfcommon.c
+++ b/Build/source/texk/ttfdump/libttf/otfcommon.c
@@ -1,8 +1,11 @@
/* otfcommon.c -- OpenType Common Table Formats
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/pclt.c b/Build/source/texk/ttfdump/libttf/pclt.c
index b2108d43a45..02e562afc3c 100644
--- a/Build/source/texk/ttfdump/libttf/pclt.c
+++ b/Build/source/texk/ttfdump/libttf/pclt.c
@@ -1,9 +1,12 @@
/* pclt.c -- PCL5 Table
* Copyright (C) 1997 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/post.c b/Build/source/texk/ttfdump/libttf/post.c
index e1a54f5ed31..c28e6593b72 100644
--- a/Build/source/texk/ttfdump/libttf/post.c
+++ b/Build/source/texk/ttfdump/libttf/post.c
@@ -1,6 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/prep.c b/Build/source/texk/ttfdump/libttf/prep.c
index 03a123ea044..6408e9ef881 100644
--- a/Build/source/texk/ttfdump/libttf/prep.c
+++ b/Build/source/texk/ttfdump/libttf/prep.c
@@ -1,9 +1,12 @@
/* prep.c -- Control Value Program
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/tabledir.c b/Build/source/texk/ttfdump/libttf/tabledir.c
index 390d43aa414..799736bce5e 100644
--- a/Build/source/texk/ttfdump/libttf/tabledir.c
+++ b/Build/source/texk/ttfdump/libttf/tabledir.c
@@ -2,10 +2,13 @@
* Load the tables of the Table Directory of a True Type font file
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/ttc.c b/Build/source/texk/ttfdump/libttf/ttc.c
index afd66295f3a..e4625e540bc 100644
--- a/Build/source/texk/ttfdump/libttf/ttc.c
+++ b/Build/source/texk/ttfdump/libttf/ttc.c
@@ -1,11 +1,14 @@
/* ttc.c -- True Type Collection Support
* Copyright (C) 1997 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
#include "ttc.h"
diff --git a/Build/source/texk/ttfdump/libttf/ttfread.c b/Build/source/texk/ttfdump/libttf/ttfread.c
index a707113fffc..5947484e00b 100644
--- a/Build/source/texk/ttfdump/libttf/ttfread.c
+++ b/Build/source/texk/ttfdump/libttf/ttfread.c
@@ -3,6 +3,10 @@
* swap byte order carefully for MSBFirst
* presume that int is 32 bits
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#if defined(__GNUC__) && defined(_IBMR2)
diff --git a/Build/source/texk/ttfdump/libttf/ttfutil.c b/Build/source/texk/ttfdump/libttf/ttfutil.c
index 30b1f6c5353..4c436f993c9 100644
--- a/Build/source/texk/ttfdump/libttf/ttfutil.c
+++ b/Build/source/texk/ttfdump/libttf/ttfutil.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/Build/source/texk/ttfdump/libttf/vdmx.c b/Build/source/texk/ttfdump/libttf/vdmx.c
index 2cfc0ef34e7..ed9139d7c11 100644
--- a/Build/source/texk/ttfdump/libttf/vdmx.c
+++ b/Build/source/texk/ttfdump/libttf/vdmx.c
@@ -1,9 +1,12 @@
/* vdmx.c -- Vertical Device Metrics
* Copyright (C) 1996 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/vhea.c b/Build/source/texk/ttfdump/libttf/vhea.c
index 374c2c1bef7..3a74c36adb0 100644
--- a/Build/source/texk/ttfdump/libttf/vhea.c
+++ b/Build/source/texk/ttfdump/libttf/vhea.c
@@ -1,9 +1,12 @@
/* vhea.c -- Vertical Header Table
* Copyright (C) 1997 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"
diff --git a/Build/source/texk/ttfdump/libttf/vmtx.c b/Build/source/texk/ttfdump/libttf/vmtx.c
index d1dae4082a5..0cdc9edd147 100644
--- a/Build/source/texk/ttfdump/libttf/vmtx.c
+++ b/Build/source/texk/ttfdump/libttf/vmtx.c
@@ -1,9 +1,12 @@
/* vmtx.c -- Vertical Metrics Table
* Copyright (C) 1997 Li-Da Lho, All right reserved
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "ttf.h"
#include "ttfutil.h"