summaryrefslogtreecommitdiff
path: root/games/robots/score.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/robots/score.c')
-rw-r--r--games/robots/score.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/robots/score.c b/games/robots/score.c
index 8eeeb06d943..3903a5ab0cd 100644
--- a/games/robots/score.c
+++ b/games/robots/score.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: score.c,v 1.13 2015/12/04 16:40:09 tb Exp $ */
+/* $OpenBSD: score.c,v 1.14 2016/01/04 17:33:24 mestre Exp $ */
/* $NetBSD: score.c,v 1.3 1995/04/22 10:09:12 cgd Exp $ */
/*
@@ -30,7 +30,12 @@
* SUCH DAMAGE.
*/
-#include "robots.h"
+#include <fcntl.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "robots.h"
char Scorefile[PATH_MAX];