Index: libsrs2/srs2.h
--- libsrs2/srs2.h.orig	2004-07-04 19:49:03.000000000 +0200
+++ libsrs2/srs2.h	2004-10-11 17:14:24.041527940 +0200
@@ -14,6 +14,16 @@
 #ifndef __SRS2_H__
 #define __SRS2_H__
 
+#if !defined(__BEGIN_DECLS) && !defined(__END_DECLS)
+#if defined(__cplusplus)
+#define __BEGIN_DECLS   extern "C" {
+#define __END_DECLS }
+#else
+#define __BEGIN_DECLS
+#define __END_DECLS
+#endif
+#endif
+
 __BEGIN_DECLS
 
 #define SRS_VERSION_MAJOR			1
