I need C++ here too.
authorMichael Matz <matz@suse.de>
Sat, 20 Oct 2007 16:30:36 +0000 (16:30 +0000)
committerMichael Matz <matz@suse.de>
Sat, 20 Oct 2007 16:30:36 +0000 (16:30 +0000)
src/evr.h

index ff8a5d8..d260eef 100644 (file)
--- a/src/evr.h
+++ b/src/evr.h
@@ -6,9 +6,17 @@
 #ifndef EVR_H
 #define EVR_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "pooltypes.h"
 
 extern int vercmp( const char *s1, const char *q1, const char *s2, const char *q2 );
 extern int evrcmp( Pool *pool, Id evr1id, Id evr2id );
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EVR_H */