diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-15 04:05:15 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-15 04:05:15 +0100 |
commit | 9080634cc6339051c5a9943be181888b0e994cd2 (patch) | |
tree | be2878b2f4a565df14a50e188e6e595193faaaf3 | |
parent | a5eb996e0f04d911ff61479508bbc3e17b16ff0c (diff) | |
download | uci-9080634cc6339051c5a9943be181888b0e994cd2.tar.gz |
improve support for C++ stuff
-rw-r--r-- | uci.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -15,6 +15,10 @@ #ifndef __LIBUCI_H #define __LIBUCI_H +#ifdef __cplusplus +extern "C" { +#endif + #include "uci_config.h" /* @@ -710,4 +714,8 @@ uci_lookup_option_string(struct uci_context *ctx, struct uci_section *s, const c return o->v.string; } +#ifdef __cplusplus +} +#endif + #endif |