aboutsummaryrefslogtreecommitdiff
path: root/system/include/dlfcn.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-25 20:25:38 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-25 20:25:38 -0700
commitf75ea0e4774fcb0f5dba220185ac70fadce1d51c (patch)
tree034c98fae16c8ec6d6d89ee0260525abc1bbd95b /system/include/dlfcn.h
parente965f257ccbab66f445a5157fdb538d99e8732dd (diff)
header fixes
Diffstat (limited to 'system/include/dlfcn.h')
-rw-r--r--system/include/dlfcn.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/include/dlfcn.h b/system/include/dlfcn.h
index f3439c70..34a85289 100644
--- a/system/include/dlfcn.h
+++ b/system/include/dlfcn.h
@@ -1,5 +1,7 @@
+#ifdef __cplusplus
extern "C" {
+#endif
#define RTLD_LAZY 1
#define RTLD_NOW 2
@@ -11,5 +13,7 @@ void *dlsym(void *, const char *);
int dlclose(void *);
char *dlerror(void);
+#ifdef __cplusplus
}
+#endif