Error during compiling C code related to sys/time.h

I’m trying to compile a C code which has include file “sys/time.h” but I get an --> error PGC-F-0206-Can’t find include file sys/time.h (laplace_serial.c: 4). PGC/x86-64 Windows 19.10-0: compilation aborted. I have Visual Studio 2017 community version downloaded. I would greatly appreciate if someone can give me any input on this error. Thank you in advance!

I think you’ll just want “<time.h>”, if this is on Windows, MSVC has their own implementation of the standard time.h header. If you’re porting the code over from a POSIX platform, it might be worth looking at the functions you need from sys/time.h and finding the Windows equivalent.