For master, 7.8's fine. -tom
From 0e27861f54462dd96231364ef33d3435716b9440 Mon Sep 17 00:00:00 2001 From: Tom Fogal <[email protected]> Date: Thu, 17 Jun 2010 09:23:53 -0600 Subject: [PATCH] Fix compilation error on darwin. malloc/NULL needs stdlib. --- src/mapi/mapi/u_execmem.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mapi/mapi/u_execmem.c b/src/mapi/mapi/u_execmem.c index 00df830..bfd2eb4 100644 --- a/src/mapi/mapi/u_execmem.c +++ b/src/mapi/mapi/u_execmem.c @@ -31,6 +31,7 @@ * Copied from main/execmem.c and simplified for dispatch stubs. */ +#include <stdlib.h> #include "u_compiler.h" #include "u_thread.h" -- 1.7.0.2
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
