From: Ben Pfaff Date: Sun, 5 Oct 2008 21:53:00 +0000 (-0700) Subject: Fix GCC 4.3 warnings about parameters of incomplete type. X-Git-Tag: v0.7.1~50^2~34 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cae74e57bd1bc78f09ef0b01411d3ba83a9857d;p=pspp-builds.git Fix GCC 4.3 warnings about parameters of incomplete type. --- diff --git a/src/data/data-in.h b/src/data/data-in.h index 7d4df5ad..3a8d67cc 100644 --- a/src/data/data-in.h +++ b/src/data/data-in.h @@ -22,7 +22,7 @@ #include #include #include - +#include enum fmt_type; union value; diff --git a/src/data/format-guesser.h b/src/data/format-guesser.h index 48a27876..23249f6a 100644 --- a/src/data/format-guesser.h +++ b/src/data/format-guesser.h @@ -17,8 +17,8 @@ #ifndef FORMAT_GUESSER_H #define FORMAT_GUESSER_H 1 +#include struct fmt_spec; -struct substring; struct fmt_guesser *fmt_guesser_create (void); void fmt_guesser_destroy (struct fmt_guesser *); diff --git a/src/data/settings.h b/src/data/settings.h index e39a63a0..2f2bbe99 100644 --- a/src/data/settings.h +++ b/src/data/settings.h @@ -19,6 +19,9 @@ #include #include +#include +#include +#include struct settings; diff --git a/src/language/data-io/data-parser.h b/src/language/data-io/data-parser.h index 4976d3f4..b250e91b 100644 --- a/src/language/data-io/data-parser.h +++ b/src/language/data-io/data-parser.h @@ -21,6 +21,7 @@ #include #include +#include struct dataset; struct dfm_reader; diff --git a/src/math/order-stats.h b/src/math/order-stats.h index cea50ed8..07da284a 100644 --- a/src/math/order-stats.h +++ b/src/math/order-stats.h @@ -18,6 +18,7 @@ #define __ORDER_STATS_H__ #include +#include #include struct casereader; diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index 3b9f0370..1a620908 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -20,6 +20,7 @@ #include "relocatable.h" +#include #include #include diff --git a/src/ui/syntax-gen.h b/src/ui/syntax-gen.h index 501f1f37..244e528b 100644 --- a/src/ui/syntax-gen.h +++ b/src/ui/syntax-gen.h @@ -22,6 +22,7 @@ #include #include #include +#include struct fmt_spec; struct substring;