Update PlatformIO espressif32 platform to 6.1.0 error

Hi everyone,

I’m trying to update a big code from espressif platform 3.0.0 to 6.1.0 forcing it in platformio.ini

platform = espressif32@6.1.0

but I receive many errors.
The first is related to this piece of code:

extern “C” {
#include “crypto/base64.h”

the file base64.h was present in the folder:

now after the update, the file is nomore present, the error is:

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit .C/C++(1696)
cannot open source file "crypto/base64.h"C/C++(1696)

How can I resolve the issue? It’s only a copy paste work?