1.1 --- a/src/chess/rules.h Tue Apr 08 21:13:28 2014 +0200 1.2 +++ b/src/chess/rules.h Wed Apr 09 09:34:07 2014 +0200 1.3 @@ -31,6 +31,7 @@ 1.4 #define RULES_H 1.5 1.6 #include <stdint.h> 1.7 +#include <time.h> 1.8 1.9 #define VALID_MOVE_SYNTAX 0 1.10 #define INVALID_MOVE_SYNTAX 1 1.11 @@ -76,6 +77,8 @@ 1.12 uint8_t tofile; 1.13 uint8_t torow; 1.14 uint8_t promotion; 1.15 + struct timespec timestamp; 1.16 + struct timespec movetime; 1.17 _Bool check; 1.18 _Bool capture; 1.19 } Move;