--- SDL_svg.h 2007-05-27 18:37:21.000000000 +0200 +++ SDL_svg.h.new 2007-05-27 18:37:03.000000000 +0200 @@ -3,6 +3,10 @@ #include "SDL.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct SDL_svg_context SDL_svg_context; #define SDL_SVG_FLAG_DIRECT 0 @@ -25,4 +29,8 @@ void SVG_SetClipping(SDL_svg_context *c, int minx, int miny, int maxx, int maxy); +#ifdef __cplusplus +} +#endif + #endif