diff options
Diffstat (limited to 'libopkg/opkg_install.h')
-rw-r--r-- | libopkg/opkg_install.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libopkg/opkg_install.h b/libopkg/opkg_install.h index eaffff8..48acc55 100644 --- a/libopkg/opkg_install.h +++ b/libopkg/opkg_install.h @@ -18,10 +18,18 @@ #ifndef OPKG_INSTALL_H #define OPKG_INSTALL_H +#ifdef __cplusplus +extern "C" { +#endif + #include "pkg.h" #include "opkg_conf.h" int opkg_install_by_name(const char *pkg_name); int opkg_install_pkg(pkg_t *pkg, int from_upgrading); +#ifdef __cplusplus +} +#endif + #endif |