Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/alpm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 5a0ddf0a..3672442c 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -21,6 +21,10 @@
#ifndef _ALPM_H
#define _ALPM_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Arch Linux Package Management library
*/
@@ -364,6 +368,10 @@ extern enum __pmerrno_t {
char *alpm_strerror(int err);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ALPM_H */
/* vim: set ts=2 sw=2 noet: */