Bug 88478 - #error "<malloc.h> has been replaced by <stdlib.h>"
Summary: #error "<malloc.h> has been replaced by <stdlib.h>"
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) FreeBSD
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-01-16 00:07 UTC by Vinson Lee
Modified: 2015-01-17 00:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vinson Lee 2015-01-16 00:07:39 UTC
mesa: e407fb1af4c0ca20fd839e8c3cb63cf82789b8ca (master 10.5.0-devel)

Build error on FreeBSD.

  CC       nir_to_ssa.lo
In file included from ../../src/glsl/nir/nir_to_ssa.c:29:
/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
#error "<malloc.h> has been replaced by <stdlib.h>"
 ^
Comment 1 Vinson Lee 2015-01-17 00:38:25 UTC
commit 10a4f1e77aec66dfc1af4092ebd5be39383c3223
Author: Vinson Lee <vlee@freedesktop.org>
Date:   Fri Jan 16 16:14:51 2015 -0800

    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 <vlee@freedesktop.org>


bug/show.html.tmpl processed on Jan 24, 2017 at 07:01:01.
(provided by the Example extension).