summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
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 b2f5a52cd..55df409c8 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 23832ded9..195f68952 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 db30c5b66..2f11042aa 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 5e7c3c555..0f385066b 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 801259812..cb01e1aa3 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 2b2e6c781..08f1d9ee9 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 62e595900..554cfbf39 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 c50ed20fe..14aa34e30 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>