summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r--src/common/common_funcs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index db041780a..67b3679b0 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -5,6 +5,7 @@
#pragma once
#include "common_types.h"
+#include <cstdlib>
#ifdef _WIN32
#define SLEEP(x) Sleep(x)
@@ -39,8 +40,6 @@ template<> struct CompileTimeAssert<true> {};
#include <sys/endian.h>
#endif
-#include "common_types.h"
-
// go to debugger mode
#ifdef GEKKO
#define Crash()