llama@llama-Satellite-E55-A:~/Code/cpp/caveman-duels/players/Darwin$ gcc Darwin.c -oDarwin -w -O3 Darwin.c:87:8: error: conflicting types for ‘random’ double random() { return (double)rand() / RAND_MAX; } ^ In file included from Darwin.c:2:0: /usr/include/stdlib.h:321:17: note: previous declaration of ‘random’ was here extern long int random (void) __THROW; ^ Darwin.c: In function ‘tick_count’: Darwin.c:115:5: error: unknown type name ‘timeval’ timeval t; ^ Darwin.c:117:20: error: request for member ‘tv_sec’ in something not a structure or union return 1000 * t.tv_sec + t.tv_usec / 1000; ^ Darwin.c:117:31: error: request for member ‘tv_usec’ in something not a structure or union return 1000 * t.tv_sec + t.tv_usec / 1000; ^