summaryrefslogtreecommitdiff
path: root/rpmdb/rpmdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdb/rpmdb.h')
-rw-r--r--rpmdb/rpmdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmdb/rpmdb.h b/rpmdb/rpmdb.h
index 6b6ae842a..5740bb20a 100644
--- a/rpmdb/rpmdb.h
+++ b/rpmdb/rpmdb.h
@@ -10,6 +10,10 @@
#include "rpmlib.h"
#include "rpmsw.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _rpmdb_debug;
#ifdef NOTYET