summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-14 07:00:13 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-14 07:00:13 +0000
commit9510da42b83abfcc1c80fe7905c66b931a889d4c (patch)
tree72dd7126a3760bfabe4241dce6ba5214d5c61494
parentd412258b4ca1ccaeecd211768974be6029a6f481 (diff)
downloadpango-9510da42b83abfcc1c80fe7905c66b931a889d4c.tar.gz
Make sure #include <config.h> is the first include in the file. (bug
2006-01-14 Behdad Esfahbod <behdad@gnome.org> * */*.c, */*/*.c: Make sure #include <config.h> is the first include in the file. (bug #158870, based on patch by Luis Menina)
-rw-r--r--ChangeLog5
-rw-r--r--modules/arabic/arabic-fc.c1
-rw-r--r--modules/arabic/arabic-ot.c2
-rw-r--r--modules/basic/basic-atsui.c1
-rw-r--r--modules/basic/basic-fc.c1
-rw-r--r--modules/basic/basic-win32.c2
-rw-r--r--modules/basic/basic-x.c1
-rw-r--r--modules/hangul/hangul-fc.c1
-rw-r--r--modules/hebrew/hebrew-fc.c1
-rw-r--r--modules/hebrew/hebrew-shaper.c1
-rw-r--r--modules/indic/indic-fc.c2
-rw-r--r--modules/indic/indic-ot-class-tables.c2
-rw-r--r--modules/indic/indic-ot.c2
-rw-r--r--modules/indic/mprefixups.c1
-rw-r--r--modules/khmer/khmer-fc.c3
-rw-r--r--modules/syriac/syriac-fc.c2
-rw-r--r--modules/syriac/syriac-ot.c2
-rw-r--r--modules/thai/thai-charprop.c2
-rw-r--r--modules/thai/thai-fc.c1
-rw-r--r--modules/thai/thai-ot.c1
-rw-r--r--modules/thai/thai-shaper.c3
-rw-r--r--modules/tibetan/tibetan-fc.c3
-rw-r--r--pango/break.c2
-rw-r--r--pango/ellipsize.c1
-rw-r--r--pango/fonts.c1
-rw-r--r--pango/glyphstring.c1
-rw-r--r--pango/mapping.c2
-rw-r--r--pango/mini-fribidi/fribidi.c4
-rw-r--r--pango/mini-fribidi/fribidi_char_type.c2
-rw-r--r--pango/mini-fribidi/fribidi_types.c2
-rw-r--r--pango/modules.c2
-rw-r--r--pango/opentype/disasm.c2
-rw-r--r--pango/opentype/ftglue.c1
-rw-r--r--pango/opentype/ftxgdef.c1
-rw-r--r--pango/opentype/ftxgpos.c2
-rw-r--r--pango/opentype/ftxgsub.c2
-rw-r--r--pango/opentype/ftxopen.c2
-rw-r--r--pango/opentype/otlbuffer.c3
-rw-r--r--pango/opentype/ottest.c1
-rw-r--r--pango/opentype/pango-ot-buffer.c2
-rw-r--r--pango/opentype/pango-ot-info.c2
-rw-r--r--pango/opentype/pango-ot-ruleset.c2
-rw-r--r--pango/pango-attributes.c1
-rw-r--r--pango/pango-color.c1
-rw-r--r--pango/pango-context.c1
-rw-r--r--pango/pango-coverage.c1
-rw-r--r--pango/pango-engine.c2
-rw-r--r--pango/pango-fontmap.c1
-rw-r--r--pango/pango-fontset.c2
-rw-r--r--pango/pango-glyph-item.c1
-rw-r--r--pango/pango-item.c1
-rw-r--r--pango/pango-layout.c1
-rw-r--r--pango/pango-markup.c1
-rw-r--r--pango/pango-renderer.c1
-rw-r--r--pango/pango-script.c2
-rw-r--r--pango/pango-tabs.c1
-rw-r--r--pango/pango-utils.c3
-rw-r--r--pango/pangoatsui-fontmap.c2
-rw-r--r--pango/pangoatsui.c2
-rw-r--r--pango/pangocairo-atsuifont.c2
-rw-r--r--pango/pangocairo-atsuifontmap.c2
-rw-r--r--pango/pangocairo-fcfont.c2
-rw-r--r--pango/pangocairo-fcfontmap.c1
-rw-r--r--pango/pangocairo-font.c2
-rw-r--r--pango/pangocairo-fontmap.c2
-rw-r--r--pango/pangocairo-render.c2
-rw-r--r--pango/pangocairo-win32font.c2
-rw-r--r--pango/pangocairo-win32fontmap.c2
-rw-r--r--pango/pangofc-decoder.c1
-rw-r--r--pango/pangofc-font.c2
-rw-r--r--pango/pangofc-fontmap.c1
-rw-r--r--pango/pangoft2-fontmap.c2
-rw-r--r--pango/pangoft2-render.c1
-rw-r--r--pango/pangoft2.c2
-rw-r--r--pango/pangowin32-fontcache.c1
-rw-r--r--pango/pangowin32-fontmap.c2
-rw-r--r--pango/pangowin32.c2
-rw-r--r--pango/pangox-fontcache.c1
-rw-r--r--pango/pangox-fontmap.c1
-rw-r--r--pango/pangox.c3
-rw-r--r--pango/pangoxft-font.c2
-rw-r--r--pango/pangoxft-fontmap.c1
-rw-r--r--pango/pangoxft-render.c1
-rw-r--r--pango/querymodules.c2
-rw-r--r--pango/reorder-items.c1
-rw-r--r--pango/shape.c1
-rw-r--r--pango/testfonts.c2
-rw-r--r--tools/gen-script-for-lang.c1
88 files changed, 116 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d8b41ce..1abbca8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-01-14 Behdad Esfahbod <behdad@gnome.org>
+ * */*.c, */*/*.c: Make sure #include <config.h> is the first include
+ in the file. (bug #158870, based on patch by Luis Menina)
+
+2006-01-14 Behdad Esfahbod <behdad@gnome.org>
+
* pango/pango-utils.h (pango_is_zero_width): Move G_GNUC_CONST to
after declaration, to be compatible with gcc 2.95. (bug #326847)
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index 7c2866a4..e03e9ba6 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "arabic-ot.h"
diff --git a/modules/arabic/arabic-ot.c b/modules/arabic/arabic-ot.c
index 681fefed..d23d6486 100644
--- a/modules/arabic/arabic-ot.c
+++ b/modules/arabic/arabic-ot.c
@@ -25,6 +25,8 @@
/* pango/opentype/FT-license.txt */
/****************************************************************************/
+#include <config.h>
+
#include "arabic-ot.h"
diff --git a/modules/basic/basic-atsui.c b/modules/basic/basic-atsui.c
index f1054e7f..08391d6a 100644
--- a/modules/basic/basic-atsui.c
+++ b/modules/basic/basic-atsui.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <glib.h>
#include <string.h>
#include <Carbon/Carbon.h>
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 7daf2a93..d72d7b72 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <glib/gprintf.h>
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c
index 726b3e3f..58624293 100644
--- a/modules/basic/basic-win32.c
+++ b/modules/basic/basic-win32.c
@@ -20,7 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#define BASIC_WIN32_DEBUGGING
diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c
index 3b440db4..0ff0f863 100644
--- a/modules/basic/basic-x.c
+++ b/modules/basic/basic-x.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <glib.h>
#include <string.h>
#include "pango-engine.h"
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
index 9ab0fbc3..991b305f 100644
--- a/modules/hangul/hangul-fc.c
+++ b/modules/hangul/hangul-fc.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "pango-engine.h"
diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
index b2080db6..c22f118f 100644
--- a/modules/hebrew/hebrew-fc.c
+++ b/modules/hebrew/hebrew-fc.c
@@ -21,6 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <pango/pango-ot.h>
diff --git a/modules/hebrew/hebrew-shaper.c b/modules/hebrew/hebrew-shaper.c
index 3e3a2183..5fe000c8 100644
--- a/modules/hebrew/hebrew-shaper.c
+++ b/modules/hebrew/hebrew-shaper.c
@@ -29,6 +29,7 @@
* bad though, and should be fixed, once I have more time.
*/
+#include <config.h>
#include <glib.h>
#include "pango-engine.h"
#include "hebrew-shaper.h"
diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c
index 49bbd0d9..8487a3cd 100644
--- a/modules/indic/indic-fc.c
+++ b/modules/indic/indic-fc.c
@@ -21,6 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <string.h>
#include "indic-ot.h"
diff --git a/modules/indic/indic-ot-class-tables.c b/modules/indic/indic-ot-class-tables.c
index 5c122f8e..4b95cc21 100644
--- a/modules/indic/indic-ot-class-tables.c
+++ b/modules/indic/indic-ot-class-tables.c
@@ -32,6 +32,8 @@
* authorization of the copyright holder.
*/
+#include <config.h>
+
#include "indic-ot.h"
enum
diff --git a/modules/indic/indic-ot.c b/modules/indic/indic-ot.c
index a687ad35..188e5fc5 100644
--- a/modules/indic/indic-ot.c
+++ b/modules/indic/indic-ot.c
@@ -32,6 +32,8 @@
* authorization of the copyright holder.
*/
+#include <config.h>
+
#include "indic-ot.h"
#include "mprefixups.h"
/*
diff --git a/modules/indic/mprefixups.c b/modules/indic/mprefixups.c
index c9dba6c3..3fd4003b 100644
--- a/modules/indic/mprefixups.c
+++ b/modules/indic/mprefixups.c
@@ -21,6 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <pango/pango-types.h>
#include "mprefixups.h"
#include <stdio.h>
diff --git a/modules/khmer/khmer-fc.c b/modules/khmer/khmer-fc.c
index 38a01cd8..7d768c5e 100644
--- a/modules/khmer/khmer-fc.c
+++ b/modules/khmer/khmer-fc.c
@@ -56,10 +56,9 @@
* use or other dealings in this Software without prior written
* authorization of the copyright holder.
*/
-
+#include <config.h>
#include <string.h>
-
#include "pango-engine.h"
#include "pango-ot.h"
#include "pango-utils.h"
diff --git a/modules/syriac/syriac-fc.c b/modules/syriac/syriac-fc.c
index c22ac453..ed689d59 100644
--- a/modules/syriac/syriac-fc.c
+++ b/modules/syriac/syriac-fc.c
@@ -22,7 +22,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-
+#include <config.h>
#include <string.h>
#include "syriac-ot.h"
diff --git a/modules/syriac/syriac-ot.c b/modules/syriac/syriac-ot.c
index 6011932f..b5bb48a9 100644
--- a/modules/syriac/syriac-ot.c
+++ b/modules/syriac/syriac-ot.c
@@ -18,7 +18,7 @@
* pango/opentype/FT-license.txt for full details of the FreeType
* license.
*/
-
+#include <config.h>
#include "syriac-ot.h"
/* Here a table of the joining classes for characters in the range
diff --git a/modules/thai/thai-charprop.c b/modules/thai/thai-charprop.c
index b657f1eb..a05592b5 100644
--- a/modules/thai/thai-charprop.c
+++ b/modules/thai/thai-charprop.c
@@ -23,7 +23,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-
+#include <config.h>
#include "thai-charprop.h"
const gshort thai_char_type[256] = {
diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c
index a5676ff6..9a038e8b 100644
--- a/modules/thai/thai-fc.c
+++ b/modules/thai/thai-fc.c
@@ -27,6 +27,7 @@
*/
+#include <config.h>
#include <string.h>
#include <glib.h>
diff --git a/modules/thai/thai-ot.c b/modules/thai/thai-ot.c
index 7ece31e0..b82033bb 100644
--- a/modules/thai/thai-ot.c
+++ b/modules/thai/thai-ot.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "thai-ot.h"
diff --git a/modules/thai/thai-shaper.c b/modules/thai/thai-shaper.c
index a4c21bfb..a2a5bf37 100644
--- a/modules/thai/thai-shaper.c
+++ b/modules/thai/thai-shaper.c
@@ -26,8 +26,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
-
+#include <config.h>
#include <string.h>
#include <glib.h>
diff --git a/modules/tibetan/tibetan-fc.c b/modules/tibetan/tibetan-fc.c
index 525736e8..5df9906e 100644
--- a/modules/tibetan/tibetan-fc.c
+++ b/modules/tibetan/tibetan-fc.c
@@ -64,10 +64,9 @@
* use or other dealings in this Software without prior written
* authorization of the copyright holder.
*/
-
+#include <config.h>
#include <string.h>
-
#include "pango-engine.h"
#include "pango-ot.h"
#include "pango-utils.h"
diff --git a/pango/break.c b/pango/break.c
index 4a7fcdef..aafa503f 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pango-break.h"
#include "pango-modules.h"
#include <string.h>
diff --git a/pango/ellipsize.c b/pango/ellipsize.c
index d81b9e76..d7d4a900 100644
--- a/pango/ellipsize.c
+++ b/pango/ellipsize.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "pango-glyph-item-private.h"
diff --git a/pango/fonts.c b/pango/fonts.c
index fcd84fca..07392f50 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
diff --git a/pango/glyphstring.c b/pango/glyphstring.c
index 848f5233..59df32da 100644
--- a/pango/glyphstring.c
+++ b/pango/glyphstring.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <glib.h>
#include <pango/pango-glyph.h>
#include <pango/pango-font.h>
diff --git a/pango/mapping.c b/pango/mapping.c
index db66c7ec..3bbc623e 100644
--- a/pango/mapping.c
+++ b/pango/mapping.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
/* The initial implementation here is script independent,
* but it might actually need to be virtualized into the
* rendering modules. Otherwise, we probably will end up
diff --git a/pango/mini-fribidi/fribidi.c b/pango/mini-fribidi/fribidi.c
index e38dbad2..04fbc50a 100644
--- a/pango/mini-fribidi/fribidi.c
+++ b/pango/mini-fribidi/fribidi.c
@@ -21,12 +21,10 @@
* <fwpg@sharif.edu>.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include "fribidi.h"
/* Redefine FRIBIDI_CHUNK_SIZE in config.h to override this. */
diff --git a/pango/mini-fribidi/fribidi_char_type.c b/pango/mini-fribidi/fribidi_char_type.c
index 83d570e1..dcf2d06e 100644
--- a/pango/mini-fribidi/fribidi_char_type.c
+++ b/pango/mini-fribidi/fribidi_char_type.c
@@ -19,9 +19,7 @@
* For licensing issues, contact <fwpg@sharif.edu>.
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "fribidi.h"
#ifdef MEM_OPTIMIZED
diff --git a/pango/mini-fribidi/fribidi_types.c b/pango/mini-fribidi/fribidi_types.c
index 80c40f25..303c0d03 100644
--- a/pango/mini-fribidi/fribidi_types.c
+++ b/pango/mini-fribidi/fribidi_types.c
@@ -19,9 +19,7 @@
* For licensing issues, contact <fwpg@sharif.edu>.
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "fribidi.h"
#ifdef DEBUG
diff --git a/pango/modules.c b/pango/modules.c
index b208a846..1222b770 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <limits.h>
diff --git a/pango/opentype/disasm.c b/pango/opentype/disasm.c
index 15464f4b..50a07205 100644
--- a/pango/opentype/disasm.c
+++ b/pango/opentype/disasm.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <glib.h> /* For G_HAVE_ISO_VARARGS */
#include <stdarg.h>
diff --git a/pango/opentype/ftglue.c b/pango/opentype/ftglue.c
index bf895ec3..b3fd5b2d 100644
--- a/pango/opentype/ftglue.c
+++ b/pango/opentype/ftglue.c
@@ -8,6 +8,7 @@
* See ftglue.h for more information.
*/
+#include <config.h>
#include "ftglue.h"
#if 0
diff --git a/pango/opentype/ftxgdef.c b/pango/opentype/ftxgdef.c
index 702e29b9..8701b326 100644
--- a/pango/opentype/ftxgdef.c
+++ b/pango/opentype/ftxgdef.c
@@ -15,6 +15,7 @@
*
******************************************************************/
+#include <config.h>
#include "ftxopen.h"
#include "ftxopenf.h"
diff --git a/pango/opentype/ftxgpos.c b/pango/opentype/ftxgpos.c
index 3ebb3023..69efd070 100644
--- a/pango/opentype/ftxgpos.c
+++ b/pango/opentype/ftxgpos.c
@@ -15,6 +15,8 @@
*
******************************************************************/
+#include <config.h>
+
/* XXX There is *a lot* of duplicated code (cf. formats 7 and 8), but
I don't care currently. I believe that it would be possible to
save about 50% of TTO code by carefully designing the structures,
diff --git a/pango/opentype/ftxgsub.c b/pango/opentype/ftxgsub.c
index 1e8afaa2..dac69aa2 100644
--- a/pango/opentype/ftxgsub.c
+++ b/pango/opentype/ftxgsub.c
@@ -15,6 +15,8 @@
*
******************************************************************/
+#include <config.h>
+
/* XXX There is *a lot* of duplicated code (cf. formats 5 and 6), but
I don't care currently. I believe that it would be possible to
save about 50% of TTO code by carefully designing the structures,
diff --git a/pango/opentype/ftxopen.c b/pango/opentype/ftxopen.c
index c2f04850..e086bd19 100644
--- a/pango/opentype/ftxopen.c
+++ b/pango/opentype/ftxopen.c
@@ -15,6 +15,8 @@
*
******************************************************************/
+#include <config.h>
+
#include "ftxopen.h"
#include "ftxopenf.h"
diff --git a/pango/opentype/otlbuffer.c b/pango/opentype/otlbuffer.c
index a53fc4b7..5578f8ee 100644
--- a/pango/opentype/otlbuffer.c
+++ b/pango/opentype/otlbuffer.c
@@ -11,6 +11,9 @@
* this file you indicate that you have read the license and
* understand and accept it fully.
*/
+
+#include <config.h>
+
#include <otlbuffer.h>
/* To get the gcc-3.3 strict-aliasing compatible versions
diff --git a/pango/opentype/ottest.c b/pango/opentype/ottest.c
index 6bf640be..d82c9a9b 100644
--- a/pango/opentype/ottest.c
+++ b/pango/opentype/ottest.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/pango/opentype/pango-ot-buffer.c b/pango/opentype/pango-ot-buffer.c
index 8d97aea0..f649ae62 100644
--- a/pango/opentype/pango-ot-buffer.c
+++ b/pango/opentype/pango-ot-buffer.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pango-ot-private.h"
#define PANGO_SCALE_26_6 (PANGO_SCALE / (1<<6))
diff --git a/pango/opentype/pango-ot-info.c b/pango/opentype/pango-ot-info.c
index 87a2a4eb..1899bd02 100644
--- a/pango/opentype/pango-ot-info.c
+++ b/pango/opentype/pango-ot-info.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pango-ot-private.h"
#include "../pango-utils.h"
#include "ftglue.h"
diff --git a/pango/opentype/pango-ot-ruleset.c b/pango/opentype/pango-ot-ruleset.c
index b61a28e0..838d80e4 100644
--- a/pango/opentype/pango-ot-ruleset.c
+++ b/pango/opentype/pango-ot-ruleset.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <pango/pango-ot.h>
#include "pango-ot-private.h"
#include "../pango-utils.h"
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 6c851f1e..b89e5c6c 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "pango-attributes.h"
diff --git a/pango/pango-color.c b/pango/pango-color.c
index 6628225b..172a759c 100644
--- a/pango/pango-color.c
+++ b/pango/pango-color.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/pango/pango-context.c b/pango/pango-context.c
index a2f6b757..e1b408f5 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index 615d152e..2aedea15 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <pango/pango-coverage.h>
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index fac90bc1..7517679d 100644
--- a/pango/pango-engine.c
+++ b/pango/pango-engine.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pango-engine.h"
#include "pango-engine-private.h"
#include "pango-impl-utils.h"
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c
index 1e5ae738..8a033566 100644
--- a/pango/pango-fontmap.c
+++ b/pango/pango-fontmap.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "pango-fontmap.h"
#include "pango-utils.h"
#include <stdlib.h>
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index a62169a2..acf8fd52 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
/*
* PangoFontset
*/
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c
index 73386dbb..17ffc788 100644
--- a/pango/pango-glyph-item.c
+++ b/pango/pango-glyph-item.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "pango-glyph-item.h"
diff --git a/pango/pango-item.c b/pango/pango-item.c
index 26b4d356..6a1481dd 100644
--- a/pango/pango-item.c
+++ b/pango/pango-item.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <pango-attributes.h>
#include <pango-item.h>
#include <pango-utils.h>
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 1190dd27..c3e45171 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <pango/pango-glyph.h> /* For pango_shape() */
#include <pango/pango-break.h>
#include <pango/pango-item.h>
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index a8c2996b..a5128f3e 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index bc6f3257..31e14077 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include "pango-renderer.h"
diff --git a/pango/pango-script.c b/pango/pango-script.c
index 5e305953..d276e0f2 100644
--- a/pango/pango-script.c
+++ b/pango/pango-script.c
@@ -53,6 +53,8 @@
* or other dealings in this Software without prior written authorization
* of the copyright holder.
*/
+
+#include <config.h>
#include <stdlib.h>
#include <string.h>
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index 50073494..aedd9bce 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "pango-tabs.h"
#include "pango-utils.h"
#include <string.h>
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 481a9d2d..4b3adc3d 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -19,13 +19,12 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <errno.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
-#include "config.h"
-
#include "pango-font.h"
#include "pango-utils.h"
diff --git a/pango/pangoatsui-fontmap.c b/pango/pangoatsui-fontmap.c
index 75c5a890..a547df91 100644
--- a/pango/pangoatsui-fontmap.c
+++ b/pango/pangoatsui-fontmap.c
@@ -20,6 +20,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangoatsui-private.h"
#include "pango-utils.h"
diff --git a/pango/pangoatsui.c b/pango/pangoatsui.c
index d58a7ac4..50da844d 100644
--- a/pango/pangoatsui.c
+++ b/pango/pangoatsui.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangoatsui-private.h"
G_DEFINE_TYPE (PangoATSUIFont, pango_atsui_font, PANGO_TYPE_FONT);
diff --git a/pango/pangocairo-atsuifont.c b/pango/pangocairo-atsuifont.c
index 02b0d88b..016e68bb 100644
--- a/pango/pangocairo-atsuifont.c
+++ b/pango/pangocairo-atsuifont.c
@@ -20,6 +20,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangoatsui-private.h"
#include "pangocairo.h"
#include "pangocairo-private.h"
diff --git a/pango/pangocairo-atsuifontmap.c b/pango/pangocairo-atsuifontmap.c
index 80cacbbc..617f3720 100644
--- a/pango/pangocairo-atsuifontmap.c
+++ b/pango/pangocairo-atsuifontmap.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangoatsui-private.h"
#include "pangocairo.h"
#include "pangocairo-private.h"
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c
index c6aeabe5..5913ca91 100644
--- a/pango/pangocairo-fcfont.c
+++ b/pango/pangocairo-fcfont.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <math.h>
#include <stdlib.h>
diff --git a/pango/pangocairo-fcfontmap.c b/pango/pangocairo-fcfontmap.c
index 15752e2a..188990b0 100644
--- a/pango/pangocairo-fcfontmap.c
+++ b/pango/pangocairo-fcfontmap.c
@@ -18,6 +18,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <cairo-ft.h>
#include "pangofc-fontmap.h"
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index 008fd1d5..259b45d9 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangocairo.h"
#include "pangocairo-private.h"
#include "pango-utils.h"
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index d3232222..9e40a1e9 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include "pangocairo.h"
#include "pangocairo-private.h"
diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c
index 16c8054c..48b7ab78 100644
--- a/pango/pangocairo-render.c
+++ b/pango/pangocairo-render.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangocairo-private.h"
typedef struct _PangoCairoRendererClass PangoCairoRendererClass;
diff --git a/pango/pangocairo-win32font.c b/pango/pangocairo-win32font.c
index e5d8dc0d..57bb16e3 100644
--- a/pango/pangocairo-win32font.c
+++ b/pango/pangocairo-win32font.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <math.h>
#include <stdlib.h>
diff --git a/pango/pangocairo-win32fontmap.c b/pango/pangocairo-win32fontmap.c
index 9449fda7..5dfa9482 100644
--- a/pango/pangocairo-win32fontmap.c
+++ b/pango/pangocairo-win32fontmap.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangowin32-private.h"
#include "pangocairo.h"
#include "pangocairo-private.h"
diff --git a/pango/pangofc-decoder.c b/pango/pangofc-decoder.c
index a7db45cc..77757b37 100644
--- a/pango/pangofc-decoder.c
+++ b/pango/pangofc-decoder.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "pangofc-decoder.h"
G_DEFINE_ABSTRACT_TYPE (PangoFcDecoder, pango_fc_decoder, G_TYPE_OBJECT)
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c
index 3eda0e5f..786df91c 100644
--- a/pango/pangofc-font.c
+++ b/pango/pangofc-font.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "pangofc-font.h"
#include "pangofc-fontmap.h"
#include "pangofc-private.h"
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 36c5a1e4..f80cfe74 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -22,6 +22,7 @@
/* Size of fontset cache */
#define FONTSET_CACHE_SIZE 16
+#include <config.h>
#include <math.h>
#include "pango-context.h"
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index de294eb6..3b04da82 100644
--- a/pango/pangoft2-fontmap.c
+++ b/pango/pangoft2-fontmap.c
@@ -20,7 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <glib.h>
#include <stdio.h>
diff --git a/pango/pangoft2-render.c b/pango/pangoft2-render.c
index 1ad03b09..2f40bd97 100644
--- a/pango/pangoft2-render.c
+++ b/pango/pangoft2-render.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <math.h>
#include "pangoft2-private.h"
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index a77a5a32..71abb41c 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -20,7 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/pango/pangowin32-fontcache.c b/pango/pangowin32-fontcache.c
index 8b07f492..fae691e3 100644
--- a/pango/pangowin32-fontcache.c
+++ b/pango/pangowin32-fontcache.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdio.h>
#include "pangowin32-private.h"
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 343b34ad..5ea88542 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -21,7 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <ctype.h>
#include <stdio.h>
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index bd1908a9..843109bb 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -21,7 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/pango/pangox-fontcache.c b/pango/pangox-fontcache.c
index 2a3ecd05..90257be4 100644
--- a/pango/pangox-fontcache.c
+++ b/pango/pangox-fontcache.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "pangox.h"
/* Font cache
diff --git a/pango/pangox-fontmap.c b/pango/pangox-fontmap.c
index a899f356..016090e5 100644
--- a/pango/pangox-fontmap.c
+++ b/pango/pangox-fontmap.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/pango/pangox.c b/pango/pangox.c
index 3b03d77b..881c92a1 100644
--- a/pango/pangox.c
+++ b/pango/pangox.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
@@ -34,8 +35,6 @@
#define PANGO_X_UNKNOWN_FLAG 0x10000000
-#include "config.h"
-
#define PANGO_TYPE_X_FONT (pango_x_font_get_type ())
#define PANGO_X_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_X_FONT, PangoXFont))
#define PANGO_X_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_X_FONT, PangoXFontClass))
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 7fd35bf4..83fe2a54 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <stdlib.h>
diff --git a/pango/pangoxft-fontmap.c b/pango/pangoxft-fontmap.c
index c7af76a1..7a15e49b 100644
--- a/pango/pangoxft-fontmap.c
+++ b/pango/pangoxft-fontmap.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
diff --git a/pango/pangoxft-render.c b/pango/pangoxft-render.c
index c1825b31..b58212ce 100644
--- a/pango/pangoxft-render.c
+++ b/pango/pangoxft-render.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <math.h>
#include "pangoxft-render.h"
diff --git a/pango/querymodules.c b/pango/querymodules.c
index cf69471f..65a91b89 100644
--- a/pango/querymodules.c
+++ b/pango/querymodules.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <glib.h>
#include <gmodule.h>
diff --git a/pango/reorder-items.c b/pango/reorder-items.c
index 39320da0..1044fe55 100644
--- a/pango/reorder-items.c
+++ b/pango/reorder-items.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <pango/pango-glyph.h>
/*
diff --git a/pango/shape.c b/pango/shape.c
index 5ea9564f..9a8b42e5 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <pango/pango-glyph.h>
#include <pango/pango-engine-private.h>
diff --git a/pango/testfonts.c b/pango/testfonts.c
index 133b9181..63f2a223 100644
--- a/pango/testfonts.c
+++ b/pango/testfonts.c
@@ -20,7 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <glib.h>
#include <stdlib.h>
diff --git a/tools/gen-script-for-lang.c b/tools/gen-script-for-lang.c
index 5c0573c5..121005a4 100644
--- a/tools/gen-script-for-lang.c
+++ b/tools/gen-script-for-lang.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>