Allowed C++ usage (patch from VMiklos <vmiklos@frugalware.org>)
This commit is contained in:
parent
a1b005d239
commit
7df7ca1738
1 changed files with 8 additions and 0 deletions
|
@ -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: */
|
||||
|
|
Loading…
Add table
Reference in a new issue