From cca1cef3f29d244f0a57bd3ed8b09e2892f8934a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 9 Feb 2010 13:22:38 +0100 Subject: [PATCH] Add extern "C" guards for c++ --- pixman/pixman.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pixman/pixman.h b/pixman/pixman.h index 4fce706..5e35d92 100644 --- a/pixman/pixman.h +++ b/pixman/pixman.h @@ -71,6 +71,10 @@ SOFTWARE. #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Standard integers */ @@ -909,4 +913,8 @@ void pixman_rasterize_trapezoid (pixman_image_t *image, int x_off, int y_off); +#ifdef __cplusplus +} +#endif + #endif /* PIXMAN_H__ */ -- 2.7.4