summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-21 21:36:21 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-04-21 21:36:21 (GMT)
commit7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33 (patch)
tree5efbbb0accdce7586dfe518f3ea0c00a6e8a9c43 /gtk
parent3488e337b64f7444f3021ca98f391d4ded3326e4 (diff)
downloadnetsurf-7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33.tar.gz
netsurf-7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33.tar.bz2
Split utils header into string functions and everything else
split out the string handling API from the rest of the utils header and fix up all the fallout.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/about.c1
-rw-r--r--gtk/download.c1
-rw-r--r--gtk/history.c1
-rw-r--r--gtk/preferences.c1
-rw-r--r--gtk/toolbar.c1
-rw-r--r--gtk/treeview.c1
-rw-r--r--gtk/viewsource.c1
-rw-r--r--gtk/window.c1
8 files changed, 8 insertions, 0 deletions
diff --git a/gtk/about.c b/gtk/about.c
index b2f5a52..55df409 100644
--- a/gtk/about.c
+++ b/gtk/about.c
@@ -22,6 +22,7 @@
* Implementation of gtk about dialog.
*/
+#include <stdlib.h>
#include <stdint.h>
#include "utils/utils.h"
diff --git a/gtk/download.c b/gtk/download.c
index 23832de..195f689 100644
--- a/gtk/download.c
+++ b/gtk/download.c
@@ -28,6 +28,7 @@
#include "utils/nsurl.h"
#include "utils/messages.h"
#include "utils/nsoption.h"
+#include "utils/string.h"
#include "desktop/download.h"
#include "desktop/gui_download.h"
diff --git a/gtk/history.c b/gtk/history.c
index db30c5b..2f11042 100644
--- a/gtk/history.c
+++ b/gtk/history.c
@@ -17,6 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <stdlib.h>
#include <gtk/gtk.h>
#include "utils/log.h"
diff --git a/gtk/preferences.c b/gtk/preferences.c
index 5e7c3c5..0f38506 100644
--- a/gtk/preferences.c
+++ b/gtk/preferences.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <stdlib.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
diff --git a/gtk/toolbar.c b/gtk/toolbar.c
index 8012598..cb01e1a 100644
--- a/gtk/toolbar.c
+++ b/gtk/toolbar.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <gtk/gtk.h>
diff --git a/gtk/treeview.c b/gtk/treeview.c
index 2b2e6c7..08f1d9e 100644
--- a/gtk/treeview.c
+++ b/gtk/treeview.c
@@ -21,6 +21,7 @@
* Generic tree handling (implementation).
*/
+#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <limits.h>
diff --git a/gtk/viewsource.c b/gtk/viewsource.c
index 62e5959..554cfbf 100644
--- a/gtk/viewsource.c
+++ b/gtk/viewsource.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <stdlib.h>
#include <gtk/gtk.h>
#include "utils/utils.h"
diff --git a/gtk/window.c b/gtk/window.c
index c50ed20..14aa34e 100644
--- a/gtk/window.c
+++ b/gtk/window.c
@@ -22,6 +22,7 @@
* Implementation of gtk windowing.
*/
+#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <limits.h>