diff -r 6c64b7a073af -r ebe0c961e9a6 src/chess/rules.h --- a/src/chess/rules.h Wed Apr 09 18:11:51 2014 +0200 +++ b/src/chess/rules.h Thu Apr 10 11:44:55 2014 +0200 @@ -31,7 +31,7 @@ #define RULES_H #include -#include +#include #define VALID_MOVE_SYNTAX 0 #define INVALID_MOVE_SYNTAX 1 @@ -69,7 +69,6 @@ typedef uint8_t Board[8][8]; - typedef struct { uint8_t piece; uint8_t fromfile; @@ -77,8 +76,8 @@ uint8_t tofile; uint8_t torow; uint8_t promotion; - struct timespec timestamp; - struct timespec movetime; + struct timeval timestamp; + struct timeval movetime; _Bool check; _Bool capture; } Move;