strndup() is a GNU extension, not a standard part of unix-ish systems: OS X, in particular, doesn't have it. I was able use the external publib suite of string functions, but had to hack the #include and -lpub for compiling src/sound-theme-spec.c. Would be great if libcanberra used a more standard function, or had some sort of emulation or internal implementation here. It appears that publib has a BSDish license, so could just import its strndup() function.
dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks _______________________________________________ libcanberra-discuss mailing list [email protected] https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss
