Mesa (master): c11: Add missing stdlib.h include.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Jan 28 14:36:09 UTC 2014
Module: Mesa
Branch: master
Commit: f29968b2709f0c4bc2fe981fe791094f70d11044
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f29968b2709f0c4bc2fe981fe791094f70d11044
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Jan 28 14:35:04 2014 +0000
c11: Add missing stdlib.h include.
For malloc/free.
Silences gcc mingw warnings.
---
include/c11/threads_win32.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/c11/threads_win32.h b/include/c11/threads_win32.h
index ee29460..be1a389 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:
More information about the mesa-commit
mailing list