diff options
| author | onelin <oscar@nelin.dk> | 2025-11-30 00:31:02 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:14:17 +0000 |
| commit | af1f93e33308a2798d18c7ab1ddaab636319b50c (patch) | |
| tree | 24c45a47ca3f4cff0ec8a2a40fcb7a1582deb51b /src | |
| parent | 00726871fa0861a4eb8ed57110c61763e1076b91 (diff) | |
Fix imports
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/daw/input.h | 2 | ||||
| -rw-r--r-- | src/logging.c | 4 | ||||
| -rw-r--r-- | src/stack.c | 4 | ||||
| -rw-r--r-- | src/window.c | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/src/include/daw/input.h b/src/include/daw/input.h index 9fbcd15..eede163 100644 --- a/src/include/daw/input.h +++ b/src/include/daw/input.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include <string.h> + #include <cglm/ivec2.h> #include <daw/types.h> #include <daw/keycodes.h> diff --git a/src/logging.c b/src/logging.c index c5eec18..943a945 100644 --- a/src/logging.c +++ b/src/logging.c @@ -1,6 +1,8 @@ +#include <math.h> +#include <stdlib.h> + #include <daw/logging.h> #include <daw/types.h> -#include <stdlib.h> char* itoa(i32 x) { const i32 size = (((i32)ceil(log10((f64)x))) + 1) * sizeof(char); diff --git a/src/stack.c b/src/stack.c index f0023c4..c25e63b 100644 --- a/src/stack.c +++ b/src/stack.c @@ -1,6 +1,8 @@ +#include <string.h> +#include <stdlib.h> + #include <daw/logging.h> #include <daw/utils/stack.h> -#include <stdlib.h> Stack stack_new_ex(const usize element_size, const usize size) { Stack s = { diff --git a/src/window.c b/src/window.c index 72717ab..7e7bfb2 100644 --- a/src/window.c +++ b/src/window.c @@ -1,3 +1,4 @@ +#include <string.h> #include <time.h> /* TODO: REMOVE THIS INCLUSION */ |
