aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grid.c1
-rw-r--r--src/maze.c1
-rw-r--r--src/utils.c1
3 files changed, 3 insertions, 0 deletions
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 <stdlib.h>
+#include <stdio.h>
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
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 <ctype.h>
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <limits.h>
void *malloc_s(unsigned long amount)