mpack: Fix conflicting malloc definition
authorFlorian Fainelli <redacted>
Sun, 2 Apr 2017 01:04:03 +0000 (18:04 -0700)
committerFlorian Fainelli <redacted>
Sun, 2 Apr 2017 01:04:47 +0000 (18:04 -0700)
commit16750dd412020e7914113acc0664e6ba37f5bbf6
treed61648585623a519eec8a3af8cda882bcfab6919
parent0c432f890220053330cdaf74876c6d652bfb3c11
mpack: Fix conflicting malloc definition

Use stdlib.h for malloc(), getenv() and realloc(). Fixes the following
build failure:

unixos.c:42:14: error: conflicting types for 'malloc'
 extern char *malloc();
              ^
Makefile:168: recipe for target 'unixos.o' failed
make[3]: *** [unixos.o] Error 1

Signed-off-by: Florian Fainelli <redacted>
utils/mpack/patches/001-use-stdlib.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT