summaryrefslogtreecommitdiff
path: root/games/robots/extern.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:02:45 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:02:45 +0000
commitbc1af5a80764c3135905e2f6c5d76d95ac39bbfe (patch)
tree373171f62800798ed6144dabfdf6dd6c2d697a7c /games/robots/extern.c
parentb66908b1ec384e410da9efc51eefbb2afc6f5fba (diff)
Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),
and setitimer() ok deraadt@
Diffstat (limited to 'games/robots/extern.c')
-rw-r--r--games/robots/extern.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/robots/extern.c b/games/robots/extern.c
index d849f866d6e..1208c936d9a 100644
--- a/games/robots/extern.c
+++ b/games/robots/extern.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.c,v 1.8 2016/01/04 17:33:24 mestre Exp $ */
+/* $OpenBSD: extern.c,v 1.9 2016/08/27 02:02:44 guenther Exp $ */
/* $NetBSD: extern.c,v 1.3 1995/04/22 10:08:49 cgd Exp $ */
/*
@@ -30,6 +30,7 @@
* SUCH DAMAGE.
*/
+#include <sys/time.h>
#include "robots.h"
bool Dead; /* Player is now dead */