diff options
Diffstat (limited to 'src/common_memory.cpp')
| -rw-r--r-- | src/common_memory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common_memory.cpp b/src/common_memory.cpp index d6a87529f..c6ee88f03 100644 --- a/src/common_memory.cpp +++ b/src/common_memory.cpp @@ -1,4 +1,6 @@ +#if defined(GB_SYSTEM_LINUX) #include <malloc.h> +#endif gb_internal gb_inline void zero_size(void *ptr, isize len) { memset(ptr, 0, len); |