The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Merge pull request #12 from jasperla/malloc_h

These changes was commited to the Birdfont repository Sun, 20 Dec 2015 08:49:17 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 20 Dec 2015 08:49:17 +0000 (09:49 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 20 Dec 2015 08:49:17 +0000 (09:49 +0100)
commit a3dfed1a320f5e6e3e0c8f79ac8d62be239b5ac3
tree 778f7a9262b341b72c75200406f29eb46aa2a438
parent d48700738f789aec4f05f997e868ece42c36fb32
parent 51a688beb46211a6d3ce04d09e851723c8f4c504
Merge pull request #12 from jasperla/malloc_h

Use the right header to get malloc(3)
libbirdgems/fit_cubic.c
--- a/libbirdgems/fit_cubic.c +++ b/libbirdgems/fit_cubic.c @@ -22,10 +22,10 @@ #include "GraphicsGems.h" - #ifdef MAC - #include <malloc/malloc.h> - #else + #ifdef __linux__ #include <malloc.h> + #else + #include <stdlib.h> #endif #include <math.h>