error

I seem to remember that <sys/time.h> is used on SAMD Boards
you have a Uno selected - check your board type