diff options
author | Vinson Lee <[email protected]> | 2015-01-16 16:14:51 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2015-01-16 16:14:51 -0800 |
commit | 10a4f1e77aec66dfc1af4092ebd5be39383c3223 (patch) | |
tree | 7a3c49be5343d75ec7f2462e242077b141acea41 /src/glsl/nir | |
parent | a9f657ded1de1a43b16e942d8910239df4c92999 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/glsl/nir')
-rw-r--r-- | src/glsl/nir/nir_to_ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <stdlib.h> #include <unistd.h> /* |