Compile fails because 'malloc.h' is replaced by 'stdlib.h'
Posted: 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)
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>"