nir: s/malloc.h/stdlib.h/
authorVinson Lee <vlee@freedesktop.org>
Sat, 17 Jan 2015 00:14:51 +0000 (16:14 -0800)
committerVinson 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

index 03cce9266ffb43178082af34c14889cace8355ea..3e7521163f6c4ecba05ae0cc9a82dba1fe7e951f 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include "nir.h"
-#include "malloc.h"
+#include <stdlib.h>
 #include <unistd.h>
 
 /*