From 13229219c961d4b61d16b67d007a4c34de00c49b Mon Sep 17 00:00:00 2001 From: Denis Pronin Date: Fri, 28 Jul 2023 12:39:58 +0300 Subject: [PATCH] fix missing headers in multiple files some files require to have some missing headers included Signed-off-by: Denis Pronin --- cairo_text_helpers.c | 2 ++ cairo_text_helpers.h | 2 ++ goptions.h | 2 ++ log.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/cairo_text_helpers.c b/cairo_text_helpers.c index 19fb8e03..5bdd6021 100644 --- a/cairo_text_helpers.c +++ b/cairo_text_helpers.c @@ -1,3 +1,5 @@ +#include "cairo_text_helpers.h" + #include #include #include diff --git a/cairo_text_helpers.h b/cairo_text_helpers.h index 014001ad..d0f52d51 100644 --- a/cairo_text_helpers.h +++ b/cairo_text_helpers.h @@ -1,6 +1,8 @@ #ifndef CAIRO_TEXT_HELPERS_H #define CAIRO_TEXT_HELPERS_H +#include + void draw_centered_text(cairo_t *cr, const char *font, double x, double y, double fontsize, const char *text); diff --git a/goptions.h b/goptions.h index a225a8d1..03617509 100644 --- a/goptions.h +++ b/goptions.h @@ -1,6 +1,8 @@ #ifndef GFIO_OPTIONS_H #define GFIO_OPTIONS_H +#include + void gopt_get_options_window(GtkWidget *window, struct gfio_client *gc); void gopt_init(void); void gopt_exit(void); diff --git a/log.c b/log.c index 237bac28..df58ea07 100644 --- a/log.c +++ b/log.c @@ -1,3 +1,5 @@ +#include "log.h" + #include #include #include -- 2.25.1