diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2017-02-05 13:17:51 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2017-02-05 13:17:51 +0000 |
commit | 39f7357b388d2e00d307419ccd2d761180eb5c5c (patch) | |
tree | 7c1a1e3ac59736e9e855ff8ccd7a466faab107f3 /src | |
parent | c58cc57253109efe1e7bc3b7b90b177e11f55fbb (diff) | |
download | libnslayout-39f7357b388d2e00d307419ccd2d761180eb5c5c.tar.gz libnslayout-39f7357b388d2e00d307419ccd2d761180eb5c5c.tar.bz2 |
Header #include cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/dom/watcher.c | 5 | ||||
-rw-r--r-- | src/dom/watcher.h | 3 | ||||
-rw-r--r-- | src/layout.c | 2 | ||||
-rw-r--r-- | src/util/dom-str.c | 2 | ||||
-rw-r--r-- | src/util/dom-str.h | 2 |
5 files changed, 8 insertions, 6 deletions
diff --git a/src/dom/watcher.c b/src/dom/watcher.c index c33702e..cb775c6 100644 --- a/src/dom/watcher.c +++ b/src/dom/watcher.c @@ -13,10 +13,13 @@ * gain a LibDOM-specific extension API. */ +#include <stdio.h> #include <assert.h> #include <stdlib.h> -#include <stdio.h> #include <string.h> +#include <stdbool.h> + +#include "libnslayout/nslayout.h" #include "dom/debug.h" #include "dom/watcher.h" diff --git a/src/dom/watcher.h b/src/dom/watcher.h index 2894db6..a6f2568 100644 --- a/src/dom/watcher.h +++ b/src/dom/watcher.h @@ -11,8 +11,7 @@ #ifndef nslayout_dom_watcher_h_ #define nslayout_dom_watcher_h_ -#include <libnslayout/nslayout.h> - +struct dom_document; struct nsl_dom_watcher; /** diff --git a/src/layout.c b/src/layout.c index ee3d507..d894f13 100644 --- a/src/layout.c +++ b/src/layout.c @@ -11,7 +11,7 @@ #include <assert.h> #include <stdlib.h> -#include <libnslayout/nslayout.h> +#include "libnslayout/nslayout.h" #include "layout.h" #include "dom/watcher.h" diff --git a/src/util/dom-str.c b/src/util/dom-str.c index 73bfe63..3c0865a 100644 --- a/src/util/dom-str.c +++ b/src/util/dom-str.c @@ -10,6 +10,8 @@ #include <stdio.h> +#include "libnslayout/nslayout.h" + #include "util/dom-str.h" #include "util/util.h" diff --git a/src/util/dom-str.h b/src/util/dom-str.h index 7c130c3..9ce7bb9 100644 --- a/src/util/dom-str.h +++ b/src/util/dom-str.h @@ -11,8 +11,6 @@ #ifndef nslayout_util_dom_str_h_ #define nslayout_util_dom_str_h_ -#include <libnslayout/nslayout.h> - extern dom_string *nsl_dom_str_node_inserted; extern dom_string *nsl_dom_str_node_removed; extern dom_string *nsl_dom_str_subtree_modified; |