index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/alpm.h | 8 |
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: */ |