From 10a4f1e77aec66dfc1af4092ebd5be39383c3223 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 16 Jan 2015 16:14:51 -0800 Subject: [PATCH] nir: s/malloc.h/stdlib.h/ Fix build error on Mac OS X. CC nir_to_ssa.lo nir_to_ssa.c:29:10: fatal error: 'malloc.h' file not found ^ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88478 Signed-off-by: Vinson Lee --- src/glsl/nir/nir_to_ssa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_to_ssa.c b/src/glsl/nir/nir_to_ssa.c index 03cce9266ff..3e7521163f6 100644 --- a/src/glsl/nir/nir_to_ssa.c +++ b/src/glsl/nir/nir_to_ssa.c @@ -26,7 +26,7 @@ */ #include "nir.h" -#include "malloc.h" +#include #include /* -- 2.30.2