
A fresh checkout shows that your change works just as well under OSX / Fink libs. I do want to note however the unistd.h include was a referral from RangerRick at #fink. He said that was the "standard"
feh.
-thomas
On Nov 12, 2003, at 2:36 AM, Bryce Harrington wrote:
I got this error when trying to build the code this evening. I fixed it by putting an include for stdlib.h in arikkei-token.c.
arikkei-token.c: In function `gchar* arikkei_token_strdup(const ArikkeiToken*)': arikkei-token.c:83: `malloc' undeclared (first use this function) arikkei-token.c:83: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [arikkei-token.o] Error 1 make[3]: Leaving directory `/home/bryce/src/Inkscape/inkscape-integration/src/libarikkei' make[2]: *** [all-recursive] Error 1
$ cvs log src/libarikkei/arikkei-token.c
RCS file: /cvsroot/inkscape/inkscape/src/libarikkei/arikkei-token.c,v Working file: src/libarikkei/arikkei-token.c
revision 1.3 date: 2003/11/11 20:03:20; author: magnethead; state: Exp; lines: +1 -2 Patches to make compile on OSX/Darwin. malloc.h replace with unistd.h and Wl in src/Makefile.am removed at --export-dynamic
Looks like this was introduced due to the OSX/Darwin patch. Hopefully my fix doesn't break that.
Bryce
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel