Mesa (master): mapi: Add missing stdlib.h header for malloc declaration.

Vinson Lee vlee at kemper.freedesktop.org
Sun Jun 20 08:04:07 UTC 2010


Module: Mesa
Branch: master
Commit: 7f6754af253856cea9da17149e834b229bc1fd49
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f6754af253856cea9da17149e834b229bc1fd49

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Jun 20 01:03:00 2010 -0700

mapi: Add missing stdlib.h header for malloc declaration.

---

 src/mapi/mapi/u_execmem.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mapi/mapi/u_execmem.c b/src/mapi/mapi/u_execmem.c
index 00df830..e5072e0 100644
--- a/src/mapi/mapi/u_execmem.c
+++ b/src/mapi/mapi/u_execmem.c
@@ -105,6 +105,8 @@ init_map(void)
 
 #else
 
+#include <stdlib.h>
+
 static int
 init_map(void)
 {




More information about the mesa-commit mailing list