diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-12-28 10:38:12 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-12-28 10:38:12 +0000 |
commit | 7df7ca1738f5e8b57ffced243276929824c5c9b8 (patch) | |
tree | fbc15a9861a6497ca50fd725f2cff2ab7f85d0a8 /lib/libalpm/alpm.h | |
parent | a1b005d2399a2092244c02b83dcf43b0e19553ab (diff) | |
download | pacman-7df7ca1738f5e8b57ffced243276929824c5c9b8.tar.xz |
Allowed C++ usage (patch from VMiklos <vmiklos@frugalware.org>)
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 8 |
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: */ |