summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_configure.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg_configure.h')
-rw-r--r--libopkg/opkg_configure.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libopkg/opkg_configure.h b/libopkg/opkg_configure.h
index ff01ff3..1889a04 100644
--- a/libopkg/opkg_configure.h
+++ b/libopkg/opkg_configure.h
@@ -18,8 +18,16 @@
#ifndef OPKG_CONFIGURE_H
#define OPKG_CONFIGURE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "pkg.h"
int opkg_configure(pkg_t *pkg);
+#ifdef __cplusplus
+}
+#endif
+
#endif