From 2876d7efdeac80085a04b8f1c509065bf323f70e Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 7 Jan 2022 12:44:22 +0100 Subject: fix: add missing includes --- src/grid.c | 1 + src/maze.c | 1 + src/utils.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/grid.c b/src/grid.c index 7248087..372ea7e 100644 --- a/src/grid.c +++ b/src/grid.c @@ -1,6 +1,7 @@ #include "grid.h" #include "utils.h" #include +#include Grid grid_create(unsigned int width, unsigned int height, char *fill) { diff --git a/src/maze.c b/src/maze.c index 2097906..bae1ba4 100644 --- a/src/maze.c +++ b/src/maze.c @@ -4,6 +4,7 @@ #include #include #include +#include int is_pos_empty(Grid grid, Position pos) { diff --git a/src/utils.c b/src/utils.c index 760589c..2657a00 100644 --- a/src/utils.c +++ b/src/utils.c @@ -2,6 +2,7 @@ #include #include #include +#include #include void *malloc_s(unsigned long amount) -- cgit v1.2.3-18-g5258