diff options
author | HampusM <hampus@hampusmat.com> | 2022-01-07 12:44:22 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-01-07 12:44:22 +0100 |
commit | 2876d7efdeac80085a04b8f1c509065bf323f70e (patch) | |
tree | 9d7319bb3b8dec6ab58d90486a0515d90160481d | |
parent | be8f26b069de778474eb634dcf3f53f5ec133002 (diff) |
fix: add missing includes
-rw-r--r-- | src/grid.c | 1 | ||||
-rw-r--r-- | src/maze.c | 1 | ||||
-rw-r--r-- | src/utils.c | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -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) { @@ -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) |