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: 2021-06-10 10:58 UTC
From: php-bugs-2012 at ryandesign dot com Assigned:
Status: Suspended Package: hidef (PECL)
PHP Version: 5.3.10 OS: OS X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
43 + 8 = ?
Subscribe to this entry?

 
 [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

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-10 10:58 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2021-06-10 10:58 UTC] cmb@php.net
The hidef package is unmaitained (the latest release was almost 9
years ago), so I suspend this ticket until a new maintainer is
found.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC