diff -Nurd -x'*~' libart_lgpl-2.3.19.orig/art_misc.h libart_lgpl-2.3.19/art_misc.h --- libart_lgpl-2.3.19.orig/art_misc.h 2007-01-01 18:59:22.000000000 -0500 +++ libart_lgpl-2.3.19/art_misc.h 2007-03-01 02:24:10.000000000 -0500 @@ -34,10 +34,18 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + void *art_alloc(size_t size); void art_free(void *ptr); void *art_realloc(void *ptr, size_t size); +#ifdef __cplusplus +} +#endif + /* These aren't, strictly speaking, configuration macros, but they're damn handy to have around, and may be worth playing with for debugging. */