diff --git a/src/header/stdlib/cbindgen.toml b/src/header/stdlib/cbindgen.toml index 2e02e68a75..c105da5486 100644 --- a/src/header/stdlib/cbindgen.toml +++ b/src/header/stdlib/cbindgen.toml @@ -1,7 +1,20 @@ sys_includes = ["stddef.h", "alloca.h", "wchar.h", "features.h"] include_guard = "_RELIBC_STDLIB_H" trailer = """ +#ifndef _RELIBC_STDLIB_EXTRA_H +#define _RELIBC_STDLIB_EXTRA_H + +#ifdef __cplusplus +extern "C" { +#endif + long double strtold(const char *nptr, char **endptr); + +#ifdef __cplusplus +} +#endif + +#endif """ language = "C" style = "Type"