Looks like you need to #include <wchar.h>

wcstold(3) - Linux man page