aboutsummaryrefslogtreecommitdiff
path: root/src/std/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/std/misc.c')
-rw-r--r--src/std/misc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/std/misc.c b/src/std/misc.c
index f53797d..33ae2be 100644
--- a/src/std/misc.c
+++ b/src/std/misc.c
@@ -1,4 +1,5 @@
#include "../../include/std/misc.h"
+#include <stdlib.h>
#if defined(_MSC_VER)
u16 byteswap16(u16 value) {
@@ -52,3 +53,7 @@ u64 byteswap64(u64 value) {
return result;
}
#endif
+
+void check_abort() {
+ abort();
+}