diff -r 0fed680c487c -r 8bda076d0a16 src/chess/rules.h --- a/src/chess/rules.h Fri Aug 21 20:06:26 2026 +0200 +++ b/src/chess/rules.h Sat Aug 22 15:15:52 2026 +0200 @@ -86,8 +86,8 @@ typedef uint8_t Color; struct movetimeval { - uint64_t tv_sec; - int32_t tv_usec; /* important that this is signed b/c potential carry */ + uint64_t sec; + int32_t usec; /* important that this is signed b/c potential carry */ }; typedef struct { @@ -101,8 +101,8 @@ uint8_t checkmate; uint8_t capture; uint8_t padding[7]; /* necessary for stable ABI across networks */ - struct movetimeval timestamp; - struct movetimeval movetime; + struct movetimeval timestamp; /* TODO: remove this from the struct */ + uint64_t movetime; /* the time for this move in microseconds */ char string[8]; } Move;