error

Arduino:1.8.4 (Windows 7), Board:"Arduino/Genuino Uno"

C:\Users\USER\Documents\Arduino\libraries\pt-1.4\example-codelock.c:59:22: fatal error: sys/time.h: No such file or directory

#include <sys/time.h>

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Whats wrong with it?

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

Whats wrong with it?

It is trying to include a file that doesn't exist. Wasn't that obvious?

Where IS the code? What libraries is it using?

this is my code

I using libraries is ProtoThreads

_.ino (4.96 KB)

I using libraries is ProtoThreads

If you can't be bothered posting a link. I can't be bothered to read your thread, or ask any questions, like Why didn't you answer the question about what board you are compiling for?