diff options
author | Dale Curtis <dalecurtis@google.com> | 2018-11-02 02:34:08 +0300 |
---|---|---|
committer | Dale Curtis <dalecurtis@google.com> | 2018-11-02 02:34:08 +0300 |
commit | 287ba91b2b84376f0ae7f823c11e2b4a017630f4 (patch) | |
tree | 3692d39075f7c16331c9c1eef5f3ef3e18fc3ad0 /src/win32 | |
parent | 8e5f126f8fd53f7385afb71e74ca8786efcf8971 (diff) |
Include <stdlib.h> for win32/thread.c
Fixes compilation error on implicitly declared malloc()/free()
due to missing this header. Alphabetizes headers for style too.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/thread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/win32/thread.c b/src/win32/thread.c index d4cb16f..14140a7 100644 --- a/src/win32/thread.c +++ b/src/win32/thread.c @@ -29,9 +29,10 @@ #if defined(_WIN32) -#include <windows.h> -#include <process.h> #include <errno.h> +#include <process.h> +#include <stdlib.h> +#include <windows.h> #include "config.h" #include "src/thread.h" |