php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61809 malloc.h: No such file or directory
Submitted: 2012-04-22 09:04 UTC Modified: -
From: php-bugs-2012 at ryandesign dot com Assigned:
Status: Open Package: hidef (PECL)
PHP Version: 5.3.10 OS: OS X
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-04-22 09:04 UTC] php-bugs-2012 at ryandesign dot com
Description:
------------
0.1.10 and 0.1.11 do not build on OS X, saying "malloc.h: No such file or 
directory". 0.1.9 built fine.

My understanding is that malloc.h is not used on OS X. If I remove the line 
'#include "malloc.h"' from hidef.c, it compiles.

Anyway, that line is wrong on other systems too: it should be '#include 
<malloc.h>' since malloc.h is a system header, not a file in your project.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Nov 16 20:01:38 2019 UTC