UNO R4 (Renesas_uno\1.0.4) : fatal error: stdlib.h: not found

When compiling a standard working Uno program, but for the R4 Minima.

AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.0.4\cores\arduino/api/Interrupts.h:5:10: fatal error: stdlib.h: No such file or directory

Hi @randmental. Do you get the same "stdlib.h: No such file or directory" error if you compile this minimal test sketch?:

#include <stdlib.h>
void setup() {}
void loop() {}

Thanks for the assistance - I have removed the R4 Board package and reinstalled it.
Compiling is now fine.

Apologies for wasting your time

No reason for apologies. I'm glad it is working now. Nice work finding the solution!

Regards,
Per