summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/daw/input.h2
-rw-r--r--src/logging.c4
-rw-r--r--src/stack.c4
-rw-r--r--src/window.c1
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 */