fix missing headers in multiple files
authorDenis Pronin <dannftk@yandex.ru>
Fri, 28 Jul 2023 09:39:58 +0000 (12:39 +0300)
committerDenis Pronin <dannftk@yandex.ru>
Fri, 28 Jul 2023 09:39:58 +0000 (12:39 +0300)
some files require to have some missing headers included

Signed-off-by: Denis Pronin <dannftk@yandex.ru>
cairo_text_helpers.c
cairo_text_helpers.h
goptions.h
log.c

index 19fb8e03c198b38f0c732cf55d2a61f5b76b933a..5bdd60219fd27c530a9f8436c073b40e568ce800 100644 (file)
@@ -1,3 +1,5 @@
+#include "cairo_text_helpers.h"
+
 #include <cairo.h>
 #include <gtk/gtk.h>
 #include <math.h>
index 014001ad2f65fde81a0dc01cffb9f4d101367d8f..d0f52d51ffc89a9cd09e44c4f64a2617cf91a8e9 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef CAIRO_TEXT_HELPERS_H
 #define CAIRO_TEXT_HELPERS_H
 
+#include <cairo.h>
+
 void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
                               double fontsize, const char *text);
 
index a225a8d1b65a3e4faf222960f398d01cb34526e7..0361750946addb861da78c9574986d7da182700c 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef GFIO_OPTIONS_H
 #define GFIO_OPTIONS_H
 
+#include <gtk/gtk.h>
+
 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 237bac28899c9feaf603835040732d0901d1acbf..df58ea07a5a6c5c4254693dbd75b32927fe7adae 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1,3 +1,5 @@
+#include "log.h"
+
 #include <unistd.h>
 #include <string.h>
 #include <stdarg.h>