From 9510da42b83abfcc1c80fe7905c66b931a889d4c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 14 Jan 2006 07:00:13 +0000 Subject: Make sure #include is the first include in the file. (bug 2006-01-14 Behdad Esfahbod * */*.c, */*/*.c: Make sure #include is the first include in the file. (bug #158870, based on patch by Luis Menina) --- ChangeLog | 5 +++++ modules/arabic/arabic-fc.c | 1 + modules/arabic/arabic-ot.c | 2 ++ modules/basic/basic-atsui.c | 1 + modules/basic/basic-fc.c | 1 + modules/basic/basic-win32.c | 2 +- modules/basic/basic-x.c | 1 + modules/hangul/hangul-fc.c | 1 + modules/hebrew/hebrew-fc.c | 1 + modules/hebrew/hebrew-shaper.c | 1 + modules/indic/indic-fc.c | 2 ++ modules/indic/indic-ot-class-tables.c | 2 ++ modules/indic/indic-ot.c | 2 ++ modules/indic/mprefixups.c | 1 + modules/khmer/khmer-fc.c | 3 +-- modules/syriac/syriac-fc.c | 2 +- modules/syriac/syriac-ot.c | 2 +- modules/thai/thai-charprop.c | 2 +- modules/thai/thai-fc.c | 1 + modules/thai/thai-ot.c | 1 + modules/thai/thai-shaper.c | 3 +-- modules/tibetan/tibetan-fc.c | 3 +-- pango/break.c | 2 ++ pango/ellipsize.c | 1 + pango/fonts.c | 1 + pango/glyphstring.c | 1 + pango/mapping.c | 2 ++ pango/mini-fribidi/fribidi.c | 4 +--- pango/mini-fribidi/fribidi_char_type.c | 2 -- pango/mini-fribidi/fribidi_types.c | 2 -- pango/modules.c | 2 +- pango/opentype/disasm.c | 2 ++ pango/opentype/ftglue.c | 1 + pango/opentype/ftxgdef.c | 1 + pango/opentype/ftxgpos.c | 2 ++ pango/opentype/ftxgsub.c | 2 ++ pango/opentype/ftxopen.c | 2 ++ pango/opentype/otlbuffer.c | 3 +++ pango/opentype/ottest.c | 1 + pango/opentype/pango-ot-buffer.c | 2 ++ pango/opentype/pango-ot-info.c | 2 ++ pango/opentype/pango-ot-ruleset.c | 2 ++ pango/pango-attributes.c | 1 + pango/pango-color.c | 1 + pango/pango-context.c | 1 + pango/pango-coverage.c | 1 + pango/pango-engine.c | 2 ++ pango/pango-fontmap.c | 1 + pango/pango-fontset.c | 2 ++ pango/pango-glyph-item.c | 1 + pango/pango-item.c | 1 + pango/pango-layout.c | 1 + pango/pango-markup.c | 1 + pango/pango-renderer.c | 1 + pango/pango-script.c | 2 ++ pango/pango-tabs.c | 1 + pango/pango-utils.c | 3 +-- pango/pangoatsui-fontmap.c | 2 ++ pango/pangoatsui.c | 2 ++ pango/pangocairo-atsuifont.c | 2 ++ pango/pangocairo-atsuifontmap.c | 2 ++ pango/pangocairo-fcfont.c | 2 +- pango/pangocairo-fcfontmap.c | 1 + pango/pangocairo-font.c | 2 ++ pango/pangocairo-fontmap.c | 2 +- pango/pangocairo-render.c | 2 ++ pango/pangocairo-win32font.c | 2 +- pango/pangocairo-win32fontmap.c | 2 ++ pango/pangofc-decoder.c | 1 + pango/pangofc-font.c | 2 ++ pango/pangofc-fontmap.c | 1 + pango/pangoft2-fontmap.c | 2 +- pango/pangoft2-render.c | 1 + pango/pangoft2.c | 2 +- pango/pangowin32-fontcache.c | 1 + pango/pangowin32-fontmap.c | 2 +- pango/pangowin32.c | 2 +- pango/pangox-fontcache.c | 1 + pango/pangox-fontmap.c | 1 + pango/pangox.c | 3 +-- pango/pangoxft-font.c | 2 +- pango/pangoxft-fontmap.c | 1 + pango/pangoxft-render.c | 1 + pango/querymodules.c | 2 +- pango/reorder-items.c | 1 + pango/shape.c | 1 + pango/testfonts.c | 2 +- tools/gen-script-for-lang.c | 1 + 88 files changed, 116 insertions(+), 32 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d8b41ce..1abbca8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-14 Behdad Esfahbod + + * */*.c, */*/*.c: Make sure #include is the first include + in the file. (bug #158870, based on patch by Luis Menina) + 2006-01-14 Behdad Esfahbod * pango/pango-utils.h (pango_is_zero_width): Move G_GNUC_CONST to 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 #include #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 + #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 #include #include #include 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 #include #include 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 #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 #include #include #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 #include #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 #include #include 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 #include #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 + #include #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 + #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 + #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 #include #include "mprefixups.h" #include 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 #include - #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 #include #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 #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 #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 #include #include 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 #include #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 #include #include 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 #include - #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 + #include "pango-break.h" #include "pango-modules.h" #include 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 #include #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 #include #include #include 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 #include #include #include 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 + /* 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 @@ * . */ +#include #include #include -#ifdef HAVE_CONFIG_H -#include -#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 . */ -#ifdef HAVE_CONFIG_H #include -#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 . */ -#ifdef HAVE_CONFIG_H #include -#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 #include #include 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 + #include /* For G_HAVE_ISO_VARARGS */ #include 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 #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 #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 + /* 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 + /* 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 + #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 + #include /* 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 #include #include 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 + #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 + #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 + #include #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 #include #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 #include #include #include 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 #include #include 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 #include #include 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 + #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 #include "pango-fontmap.h" #include "pango-utils.h" #include 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 + /* * 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 #include #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 #include #include #include 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 #include /* For pango_shape() */ #include #include 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 #include #include #include 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 #include #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 #include #include 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 #include "pango-tabs.h" #include "pango-utils.h" #include 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 #include #include #include #include -#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 + #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 + #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 + #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 + #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 #include #include 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 #include #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 + #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 #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 + #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 #include #include 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 + #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 #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 + #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 #include #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 #include #include 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 #include #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 #include #include 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 #include #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 #include #include 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 #include #include 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 #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 #include #include #include 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 #include #include #include @@ -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 #include 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 #include #include 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 #include #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 #include #include 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 #include /* 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 #include #include 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 #include #include 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 #include #include #include -- cgit v1.2.1