projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f657d
)
nir: s/malloc.h/stdlib.h/
author
Vinson Lee
<vlee@freedesktop.org>
Sat, 17 Jan 2015 00:14:51 +0000
(16:14 -0800)
committer
Vinson Lee
<vlee@freedesktop.org>
Sat, 17 Jan 2015 00:14:51 +0000
(16:14 -0800)
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 <vlee@freedesktop.org>
src/glsl/nir/nir_to_ssa.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_to_ssa.c
b/src/glsl/nir/nir_to_ssa.c
index 03cce9266ffb43178082af34c14889cace8355ea..3e7521163f6c4ecba05ae0cc9a82dba1fe7e951f 100644
(file)
--- 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>
/*