With upcoming changes to data protection and privacy laws in Europe coming into effect soon, we thought this would be a good time to remind everyone that we do have a privacy policy.
This applies to all users and visitors world-wide.

We have made a few changes to the language to make it clearer in relation to this new regulation but fundamentally, the terms and your rights are unchanged.

If you have any questions about this, please feel free to ask in the General Forum

Compile fails because 'malloc.h' is replaced by 'stdlib.h'

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
tps800
Posts: 12
Joined: Sat Dec 02, 2017 2:48 am

Compile fails because 'malloc.h' is replaced by 'stdlib.h'

Post by tps800 » Wed Dec 06, 2017 4:41 am

Description of problem or question

Compile fails because 'malloc.h' is replaced by 'stdlib.h'

Steps to reproduce the problem (If Applicable)

'malloc.h' does not exist any more, but points you to include 'stdlib.h' instead.

HandBrake version (e.g., 1.0.0)

trunc

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)

* Ubuntu 17.10
* FreeBSD 11.1

Error message text or screenshot (If Applicable)

Code: Select all

In file included from ../libhb/fifo.c:16:0:                            
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"                                                         
 #error "<malloc.h> has been replaced by <stdlib.h>"                   

User avatar
BradleyS
Moderator
Posts: 1279
Joined: Thu Aug 09, 2007 12:16 pm

Re: Compile fails because 'malloc.h' is replaced by 'stdlib.h'

Post by BradleyS » Thu Dec 07, 2017 9:53 pm

This was also fixed for FreeBSD as part of viewtopic.php?p=175432#p175432

Post Reply