summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-07-28 20:32:51 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-07-28 20:32:51 +0000
commit052f99d3790b2e600a344ffd6ead41d5c5492744 (patch)
treebf4656ec6e2351a09ba612eba12ab9bc9d80022f /gtk
parent9be511ce2cde018c4feae2a6be5f34959c7a50ef (diff)
downloadnetsurf-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
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk_download.c4
-rw-r--r--gtk/gtk_selection.c2
2 files changed, 6 insertions, 0 deletions
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"