diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2008-07-28 20:32:51 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2008-07-28 20:32:51 +0000 |
commit | 052f99d3790b2e600a344ffd6ead41d5c5492744 (patch) | |
tree | bf4656ec6e2351a09ba612eba12ab9bc9d80022f | |
parent | 9be511ce2cde018c4feae2a6be5f34959c7a50ef (diff) | |
download | netsurf-052f99d3790b2e600a344ffd6ead41d5c5492744.tar.gz netsurf-052f99d3790b2e600a344ffd6ead41d5c5492744.tar.bz2 |
Include headers we need, rather than depending on (optional) features doing so.
svn path=/trunk/netsurf/; revision=4774
-rw-r--r-- | css/css.c | 2 | ||||
-rw-r--r-- | css/ruleset.c | 1 | ||||
-rw-r--r-- | desktop/browser.c | 1 | ||||
-rw-r--r-- | desktop/frames.c | 1 | ||||
-rw-r--r-- | desktop/selection.c | 1 | ||||
-rw-r--r-- | gtk/gtk_download.c | 4 | ||||
-rw-r--r-- | gtk/gtk_selection.c | 2 | ||||
-rw-r--r-- | render/html_redraw.c | 1 | ||||
-rw-r--r-- | render/layout.c | 1 | ||||
-rw-r--r-- | render/textplain.c | 2 |
10 files changed, 16 insertions, 0 deletions
@@ -90,6 +90,8 @@ #include <stdlib.h> #include <string.h> #include <strings.h> +#include <math.h> +#include <limits.h> #define CSS_INTERNALS #undef NDEBUG #include "utils/config.h" diff --git a/css/ruleset.c b/css/ruleset.c index 92686a384..092190f9a 100644 --- a/css/ruleset.c +++ b/css/ruleset.c @@ -35,6 +35,7 @@ #include <stdlib.h> #include <string.h> #include <strings.h> +#include <math.h> #define CSS_INTERNALS #define NDEBUG #include "css/css.h" diff --git a/desktop/browser.c b/desktop/browser.c index 495cdf9ee..9f396c500 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -31,6 +31,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> +#include <math.h> #include <sys/select.h> #include "curl/curl.h" #include "utils/config.h" diff --git a/desktop/frames.c b/desktop/frames.c index 1d9e2c2fc..0244a0045 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -27,6 +27,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <math.h> #include "utils/config.h" #include "desktop/browser.h" #include "desktop/frames.h" diff --git a/desktop/selection.c b/desktop/selection.c index 0dc8e493e..a66b12afd 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -25,6 +25,7 @@ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> +#include <string.h> #include "desktop/gui.h" #include "desktop/plotters.h" diff --git a/gtk/gtk_download.c b/gtk/gtk_download.c index 6657ce1fc..5af5482bc 100644 --- a/gtk/gtk_download.c +++ b/gtk/gtk_download.c @@ -16,6 +16,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <stdlib.h> +#include <string.h> +#include <math.h> + #include <gtk/gtk.h> #include <glib/gstdio.h> diff --git a/gtk/gtk_selection.c b/gtk/gtk_selection.c index cdb43ae15..b6a1227cb 100644 --- a/gtk/gtk_selection.c +++ b/gtk/gtk_selection.c @@ -15,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include <string.h> #include <gtk/gtk.h> #include "utils/log.h" diff --git a/render/html_redraw.c b/render/html_redraw.c index 5169faf4a..f53b425ee 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -28,6 +28,7 @@ #include <assert.h> #include <stdbool.h> #include <string.h> +#include <math.h> #include "utils/config.h" #include "content/content.h" #include "css/css.h" diff --git a/render/layout.c b/render/layout.c index 300513f66..7d955011c 100644 --- a/render/layout.c +++ b/render/layout.c @@ -38,6 +38,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <math.h> #include "css/css.h" #include "content/content.h" #include "desktop/gui.h" diff --git a/render/textplain.c b/render/textplain.c index a16f834c2..1feeb35fe 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -24,6 +24,8 @@ #include <assert.h> #include <errno.h> #include <stddef.h> +#include <string.h> +#include <math.h> #define LIBICONV_PLUG #include <iconv.h> #include "content/content.h" |