diff --git a/dap-sdk/core/include/dap_strfuncs.h b/dap-sdk/core/include/dap_strfuncs.h
index 0c1c4c195b43f7800503c454d36f4f9a20e0a441..b22a7d7ce61bfb77b88a2fd63ad334c6387085b2 100755
--- a/dap-sdk/core/include/dap_strfuncs.h
+++ b/dap-sdk/core/include/dap_strfuncs.h
@@ -36,6 +36,10 @@
 #undef  clamp
 #define clamp(x, low, high)  (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifdef _WIN32
 char *strptime( char *buff, const char *fmt, struct tm *tm );
 #endif
@@ -113,3 +117,6 @@ char *dap_itoa128(char *a_str, int128_t a_value, int a_base);
 char *_strndup(const char *str, unsigned long len);
 #endif
 
+#ifdef __cplusplus
+}
+#endif