summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Fogal <tfogal@alumni.unh.edu>2010-06-17 09:23:53 -0600
committerTom Fogal <tfogal@alumni.unh.edu>2010-08-02 21:10:35 -0600
commit357724bee33ad345a1951f86431e6c4b152d824b (patch)
treebe866591bf524908e6d2cd2fe7080177c96f893d
parentf031817450fe75d3224f767d79938813287ac445 (diff)
Fix compilation error on darwin.HEADmaster
malloc/NULL needs stdlib.
-rw-r--r--src/mapi/mapi/u_execmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/mapi/u_execmem.c b/src/mapi/mapi/u_execmem.c
index e5072e06e9..22a5558a0b 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"