aboutsummaryrefslogtreecommitdiff
path: root/system/include/dlfcn.h
diff options
context:
space:
mode:
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