aboutsummaryrefslogtreecommitdiff
path: root/sokol_log.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-02-06 17:49:08 +0100
committerAndre Weissflog <floooh@gmail.com>2023-02-06 17:49:08 +0100
commitdecdb69a0a0f2f9494f743d6ba79fc35de50e8ea (patch)
tree1fe2647b202e5f86ee4bc2277bcc86fa2c6ac89f /sokol_log.h
parent67ea8b105633b9a85cb37f66569a1ed8ca0ac11e (diff)
add sokol_log.h to compile tests
Diffstat (limited to 'sokol_log.h')
-rw-r--r--sokol_log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_log.h b/sokol_log.h
index 3ea1dbba..01dd8c3b 100644
--- a/sokol_log.h
+++ b/sokol_log.h
@@ -175,6 +175,7 @@ SOKOL_LOG_API_DECL void slog_func(const char* tag, uint32_t log_level, uint32_t
#error "sokol_log.h: unknown platform"
#endif
+#include <stdlib.h> // abort
#include <stdio.h> // fputs
#include <stddef.h> // size_t