From 3541ce862727a967c92f7f08e3c7da16522f89ef Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 23 Oct 2010 23:00:21 +0000 Subject: Sprinkle some C++ scoping around svn path=/trunk/libcss/; revision=10901 --- include/libcss/errors.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/libcss/errors.h') diff --git a/include/libcss/errors.h b/include/libcss/errors.h index 3177400..0598834 100644 --- a/include/libcss/errors.h +++ b/include/libcss/errors.h @@ -8,6 +8,11 @@ #ifndef libcss_errors_h_ #define libcss_errors_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include typedef enum css_error { @@ -27,5 +32,9 @@ typedef enum css_error { /* Convert a libcss error value to a string */ const char *css_error_to_string(css_error error); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3