From 06d8aaba21496e6a39a7c18dd82e0d3efbeb531c Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 31 Jan 2008 19:06:59 +0000 Subject: Applying fixes for gcc 4.3 build issues (closes LP: #169115) (bzr r4629) --- src/xml/composite-node-observer.cpp | 2 ++ src/xml/croco-node-iface.cpp | 6 +++++- src/xml/node-fns.cpp | 2 ++ src/xml/quote-test.cpp | 2 ++ src/xml/quote.cpp | 2 +- src/xml/repr-action-test.cpp | 2 +- src/xml/repr-css.cpp | 6 +++--- src/xml/repr-io.cpp | 2 ++ src/xml/repr-util.cpp | 4 ++-- src/xml/repr.cpp | 2 ++ src/xml/simple-node.cpp | 3 +++ 11 files changed, 25 insertions(+), 8 deletions(-) (limited to 'src/xml') diff --git a/src/xml/composite-node-observer.cpp b/src/xml/composite-node-observer.cpp index bb68ba9c4..979462cef 100644 --- a/src/xml/composite-node-observer.cpp +++ b/src/xml/composite-node-observer.cpp @@ -12,6 +12,8 @@ * */ +#include + #include "algorithms/find-if-before.h" #include "xml/composite-node-observer.h" #include "xml/node-event-vector.h" diff --git a/src/xml/croco-node-iface.cpp b/src/xml/croco-node-iface.cpp index 0464e4fb7..a40ddd661 100644 --- a/src/xml/croco-node-iface.cpp +++ b/src/xml/croco-node-iface.cpp @@ -1,6 +1,10 @@ + +#include +#include +#include + #include "xml/croco-node-iface.h" #include "xml/node.h" -#include static char const * local_part(char const *const qname) diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp index 4d346e009..cb4161141 100644 --- a/src/xml/node-fns.cpp +++ b/src/xml/node-fns.cpp @@ -3,6 +3,8 @@ #endif #include +#include +#include #include // g_assert() #include "xml/node-iterators.h" diff --git a/src/xml/quote-test.cpp b/src/xml/quote-test.cpp index 61291b9de..197ca5309 100644 --- a/src/xml/quote-test.cpp +++ b/src/xml/quote-test.cpp @@ -1,7 +1,9 @@ /* Initial author: Peter Moulder. Hereby released into the Public Domain. */ +#include #include + #include "utest/test-1ary-cases.h" /* mental disclaims all responsibility for this evil idea for testing diff --git a/src/xml/quote.cpp b/src/xml/quote.cpp index b5505c5e1..37f00bad0 100644 --- a/src/xml/quote.cpp +++ b/src/xml/quote.cpp @@ -11,7 +11,7 @@ * of the GNU General Public License: see the file `COPYING'. */ -#include +#include #include diff --git a/src/xml/repr-action-test.cpp b/src/xml/repr-action-test.cpp index 0e3d8d4a4..7e022eb18 100644 --- a/src/xml/repr-action-test.cpp +++ b/src/xml/repr-action-test.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include "../utest/utest.h" diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp index ec5848366..0a2e215a0 100644 --- a/src/xml/repr-css.cpp +++ b/src/xml/repr-css.cpp @@ -1,10 +1,10 @@ /* * bulia byak -*/ - -#define SP_REPR_CSS_C +*/ +#define SP_REPR_CSS_C +#include #include #include "xml/repr.h" diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index 62d43dd41..8f149a130 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -16,6 +16,8 @@ # include #endif +#include +#include #include #include "xml/repr.h" diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 7a45f6fcd..97676bebe 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -20,11 +20,11 @@ #include #if HAVE_STRING_H -# include +# include #endif #if HAVE_STDLIB_H -# include +# include #endif diff --git a/src/xml/repr.cpp b/src/xml/repr.cpp index be226a357..4494d3fe6 100644 --- a/src/xml/repr.cpp +++ b/src/xml/repr.cpp @@ -22,6 +22,8 @@ # include "config.h" #endif +#include + #include "xml/repr.h" #include "xml/text-node.h" #include "xml/element-node.h" diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index d38e14b3f..084547a59 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -15,7 +15,10 @@ * */ +#include +#include #include + #include "xml/simple-node.h" #include "xml/node-event-vector.h" #include "xml/node-fns.h" -- cgit v1.2.3