diff options
-rw-r--r-- | desktop/knockout.c | 7 | ||||
-rw-r--r-- | desktop/plotters.h | 5 | ||||
-rw-r--r-- | framebuffer/localhistory.c | 3 | ||||
-rw-r--r-- | gtk/hotlist.c | 6 | ||||
-rw-r--r-- | gtk/plotters.c | 5 | ||||
-rw-r--r-- | gtk/treeview.c | 9 | ||||
-rw-r--r-- | image/image.c | 1 | ||||
-rw-r--r-- | monkey/plot.c | 4 |
8 files changed, 26 insertions, 14 deletions
diff --git a/desktop/knockout.c b/desktop/knockout.c index 0385ee80b..fa827cb39 100644 --- a/desktop/knockout.c +++ b/desktop/knockout.c @@ -64,10 +64,13 @@ #include <assert.h> #include <string.h> -#include "desktop/knockout.h" -#include "desktop/plotters.h" +#include <stdio.h> + #include "image/bitmap.h" #include "utils/log.h" +#include "content/content.h" +#include "desktop/knockout.h" +#include "desktop/plotters.h" /* Define to enable knockout debug */ #undef KNOCKOUT_DEBUG diff --git a/desktop/plotters.h b/desktop/plotters.h index 448cedef5..c34692433 100644 --- a/desktop/plotters.h +++ b/desktop/plotters.h @@ -24,8 +24,9 @@ #define _NETSURF_DESKTOP_PLOTTERS_H_ #include <stdbool.h> -#include "css/css.h" -#include "content/content.h" +#include <stdio.h> + +#include "utils/types.h" #include "desktop/plot_style.h" struct bitmap; diff --git a/framebuffer/localhistory.c b/framebuffer/localhistory.c index e972a1439..caacae7e5 100644 --- a/framebuffer/localhistory.c +++ b/framebuffer/localhistory.c @@ -17,11 +17,14 @@ */ #include <stdbool.h> +#include <stdlib.h> +#include <limits.h> #include <libnsfb.h> #include <libnsfb_plot.h> #include <libnsfb_event.h> +#include "utils/types.h" #include "desktop/browser_history.h" #include "desktop/plotters.h" diff --git a/gtk/hotlist.c b/gtk/hotlist.c index db090992c..0c98bd90c 100644 --- a/gtk/hotlist.c +++ b/gtk/hotlist.c @@ -16,17 +16,19 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <stdlib.h> -#include "desktop/hotlist.h" +#include "utils/log.h" #include "utils/nsoption.h" +#include "desktop/hotlist.h" #include "desktop/plotters.h" #include "desktop/tree.h" + #include "gtk/gui.h" #include "gtk/hotlist.h" #include "gtk/plotters.h" #include "gtk/scaffolding.h" #include "gtk/treeview.h" -#include "utils/log.h" #define GLADE_NAME "hotlist.glade" diff --git a/gtk/plotters.c b/gtk/plotters.c index 8896da448..b2a7edecc 100644 --- a/gtk/plotters.c +++ b/gtk/plotters.c @@ -33,11 +33,12 @@ #include "utils/log.h" #include "desktop/plotters.h" +#include "render/font.h" +#include "utils/nsoption.h" + #include "gtk/font_pango.h" #include "gtk/plotters.h" #include "gtk/scaffolding.h" -#include "render/font.h" -#include "utils/nsoption.h" #include "gtk/bitmap.h" GtkWidget *current_widget; diff --git a/gtk/treeview.c b/gtk/treeview.c index c99e9fd43..fa8bd8f3c 100644 --- a/gtk/treeview.c +++ b/gtk/treeview.c @@ -24,19 +24,20 @@ #include <assert.h> #include <stdio.h> #include <limits.h> - +#include <string.h> #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> +#include "utils/log.h" +#include "utils/utf8.h" +#include "utils/utils.h" #include "desktop/tree.h" #include "desktop/plotters.h" + #include "gtk/compat.h" #include "gtk/gui.h" #include "gtk/plotters.h" #include "gtk/treeview.h" -#include "utils/log.h" -#include "utils/utf8.h" -#include "utils/utils.h" struct nsgtk_treeview { GtkWindow *window; diff --git a/image/image.c b/image/image.c index 97ab2c0a3..81d53a3af 100644 --- a/image/image.c +++ b/image/image.c @@ -25,6 +25,7 @@ #include "utils/config.h" #include "utils/log.h" #include "desktop/plotters.h" +#include "content/content.h" #include "image/bitmap.h" #include "image/bmp.h" diff --git a/monkey/plot.c b/monkey/plot.c index 76980ce5b..db4d6cd32 100644 --- a/monkey/plot.c +++ b/monkey/plot.c @@ -16,10 +16,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "desktop/plotters.h" - #include <stdio.h> +#include "desktop/plotters.h" + static bool monkey_plot_disc(int x, int y, int radius, const plot_style_t *style) { |