summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-19 22:20:29 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-04-19 22:20:29 (GMT)
commitdee7426656b3cdbf644f65a2dd99c7c93cf0e6d2 (patch)
tree72fc5a67a30855360d41f44bcdf54d03565d4ba3
parentd29bccdb3a582a08c84fffea66d197d78048ece2 (diff)
downloadnetsurf-dee7426656b3cdbf644f65a2dd99c7c93cf0e6d2.tar.gz
netsurf-dee7426656b3cdbf644f65a2dd99c7c93cf0e6d2.tar.bz2
stop content header dragging in so many other headers
-rw-r--r--content/content.c2
-rw-r--r--content/content_factory.h1
-rw-r--r--desktop/knockout.c1
-rw-r--r--desktop/print.c1
-rw-r--r--gtk/bitmap.c1
-rw-r--r--gtk/scaffolding.c2
-rw-r--r--image/bmp.c1
-rw-r--r--image/gif.c1
-rw-r--r--image/ico.c1
-rw-r--r--image/image.c1
-rw-r--r--image/image_cache.c2
-rw-r--r--image/jpeg.c1
-rw-r--r--image/nssprite.c1
-rw-r--r--image/png.c1
-rw-r--r--javascript/duktape/dukky.c1
-rw-r--r--monkey/browser.c1
-rw-r--r--monkey/download.c1
-rw-r--r--render/html_object.c1
18 files changed, 19 insertions, 2 deletions
diff --git a/content/content.c b/content/content.c
index b0d86b9..4048d82 100644
--- a/content/content.c
+++ b/content/content.c
@@ -22,7 +22,9 @@
*/
#include <inttypes.h>
+#include <stdlib.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "desktop/plotters.h"
diff --git a/content/content_factory.h b/content/content_factory.h
index 94de376..22205dc 100644
--- a/content/content_factory.h
+++ b/content/content_factory.h
@@ -25,7 +25,6 @@
#include "content/content_type.h"
#include "utils/errors.h"
-#include "utils/utils.h"
#define CONTENT_FACTORY_REGISTER_TYPES(HNAME, HTYPELIST, HHANDLER) \
\
diff --git a/desktop/knockout.c b/desktop/knockout.c
index b213998..54e371c 100644
--- a/desktop/knockout.c
+++ b/desktop/knockout.c
@@ -66,6 +66,7 @@
#include <string.h>
#include <stdio.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/errors.h"
#include "image/bitmap.h"
diff --git a/desktop/print.c b/desktop/print.c
index f3a1a69..64d7969 100644
--- a/desktop/print.c
+++ b/desktop/print.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <dom/dom.h>
+#include "utils/utils.h"
#include "utils/nsoption.h"
#include "utils/log.h"
#include "utils/talloc.h"
diff --git a/gtk/bitmap.c b/gtk/bitmap.c
index 3c5b174..f8dcf1d 100644
--- a/gtk/bitmap.c
+++ b/gtk/bitmap.c
@@ -30,6 +30,7 @@
#include <cairo.h>
#include <gtk/gtk.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "content/content.h"
#include "image/bitmap.h"
diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c
index 65d73d6..82b58fc 100644
--- a/gtk/scaffolding.c
+++ b/gtk/scaffolding.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include "utils/config.h"
+#include "utils/utils.h"
#include "utils/dirent.h"
#include "utils/messages.h"
#include "utils/corestrings.h"
diff --git a/image/bmp.c b/image/bmp.c
index 7e992ae..2468b4d 100644
--- a/image/bmp.c
+++ b/image/bmp.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <libnsbmp.h>
+#include "utils/utils.h"
#include "utils/messages.h"
#include "content/content_protected.h"
#include "desktop/gui_internal.h"
diff --git a/image/gif.c b/image/gif.c
index b11a371..878a42a 100644
--- a/image/gif.c
+++ b/image/gif.c
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <libnsgif.h>
+#include "utils/utils.h"
#include "utils/messages.h"
#include "utils/nsoption.h"
#include "content/content_protected.h"
diff --git a/image/ico.c b/image/ico.c
index cf74592..5f453bc 100644
--- a/image/ico.c
+++ b/image/ico.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <libnsbmp.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "content/content_protected.h"
diff --git a/image/image.c b/image/image.c
index 1dac313..b9bcf1e 100644
--- a/image/image.c
+++ b/image/image.c
@@ -19,6 +19,7 @@
#include <stdbool.h>
#include <stdlib.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "content/content.h"
diff --git a/image/image_cache.c b/image/image_cache.c
index 4631ee5..9f217f8 100644
--- a/image/image_cache.c
+++ b/image/image_cache.c
@@ -21,7 +21,9 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+#include <stdlib.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "content/content_protected.h"
#include "desktop/gui_misc.h"
diff --git a/image/jpeg.c b/image/jpeg.c
index a9030be..cf265b4 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <setjmp.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "content/content_protected.h"
diff --git a/image/nssprite.c b/image/nssprite.c
index e615663..0fe2527 100644
--- a/image/nssprite.c
+++ b/image/nssprite.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <librosprite.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "content/content_protected.h"
diff --git a/image/png.c b/image/png.c
index dfeac89..1c78d30 100644
--- a/image/png.c
+++ b/image/png.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <png.h>
+#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "content/content_protected.h"
diff --git a/javascript/duktape/dukky.c b/javascript/duktape/dukky.c
index ab86d01..7dd3bd7 100644
--- a/javascript/duktape/dukky.c
+++ b/javascript/duktape/dukky.c
@@ -29,6 +29,7 @@
#include "content/content.h"
+#include "utils/utils.h"
#include "utils/nsoption.h"
#include "utils/log.h"
#include "utils/corestrings.h"
diff --git a/monkey/browser.c b/monkey/browser.c
index a132621..2b007fd 100644
--- a/monkey/browser.c
+++ b/monkey/browser.c
@@ -20,6 +20,7 @@
#include <stdio.h>
+#include "utils/utils.h"
#include "utils/ring.h"
#include "utils/log.h"
#include "utils/messages.h"
diff --git a/monkey/download.c b/monkey/download.c
index bc82074..2421366 100644
--- a/monkey/download.c
+++ b/monkey/download.c
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <stdint.h>
+#include <stdlib.h>
#include "utils/errors.h"
#include "utils/ring.h"
diff --git a/render/html_object.c b/render/html_object.c
index e30b3ab..9be3339 100644
--- a/render/html_object.c
+++ b/render/html_object.c
@@ -27,6 +27,7 @@
#include <strings.h>
#include <stdlib.h>
+#include "utils/utils.h"
#include "utils/corestrings.h"
#include "utils/config.h"
#include "utils/log.h"