aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 211fd4be4..9d528d723 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -27,6 +27,7 @@
#include <math.h>
#include <string.h>
+#include <atomic> // Because I wanted the C++11 memory order semantics, of which gb.h does not offer (because it was a C89 library)
gb_inline void zero_size(void *ptr, isize len) {
memset(ptr, 0, len);