summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-01-28 14:35:04 +0000
committerJosé Fonseca <[email protected]>2014-01-28 14:35:04 +0000
commitf29968b2709f0c4bc2fe981fe791094f70d11044 (patch)
tree204a1230cabf1e95e0c48e103540177019bd85f4
parent61c825e862c3215f0611a6c46d6530438d72028c (diff)
c11: Add missing stdlib.h include.
For malloc/free. Silences gcc mingw warnings.
-rw-r--r--include/c11/threads_win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/c11/threads_win32.h b/include/c11/threads_win32.h
index ee29460252f..be1a3895727 100644
--- a/include/c11/threads_win32.h
+++ b/include/c11/threads_win32.h
@@ -30,6 +30,7 @@
#include <limits.h>
#include <errno.h>
#include <process.h> // MSVCRT
+#include <stdlib.h>
/*
Configuration macro: