summaryrefslogtreecommitdiff
path: root/games/trek
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-10 00:03:02 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-10 00:03:02 +0000
commitf138d1da5ac5e4f052ce20134fa194b881c88ea0 (patch)
treee17b62a2ed5b4593b73540bff6721214188d4bf0 /games/trek
parenta16ddc2846315096f139acf53487df9761e9177a (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'games/trek')
-rw-r--r--games/trek/computer.c5
-rw-r--r--games/trek/destruct.c5
-rw-r--r--games/trek/getpar.c5
-rw-r--r--games/trek/setup.c5
-rw-r--r--games/trek/torped.c5
5 files changed, 15 insertions, 10 deletions
diff --git a/games/trek/computer.c b/games/trek/computer.c
index 6ad947b6a4e..39ca912a5a8 100644
--- a/games/trek/computer.c
+++ b/games/trek/computer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: computer.c,v 1.7 2003/06/03 03:01:41 millert Exp $ */
+/* $OpenBSD: computer.c,v 1.8 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: computer.c,v 1.4 1995/04/24 12:25:51 cgd Exp $ */
/*
@@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: computer.c,v 1.7 2003/06/03 03:01:41 millert Exp $";
+static char rcsid[] = "$OpenBSD: computer.c,v 1.8 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
+#include <stdlib.h>
#include <math.h>
#include "trek.h"
#include "getpar.h"
diff --git a/games/trek/destruct.c b/games/trek/destruct.c
index 1e463676c87..6a41fa15190 100644
--- a/games/trek/destruct.c
+++ b/games/trek/destruct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: destruct.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */
+/* $OpenBSD: destruct.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: destruct.c,v 1.3 1995/04/22 10:58:44 cgd Exp $ */
/*
@@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)destruct.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: destruct.c,v 1.5 2003/06/03 03:01:41 millert Exp $";
+static char rcsid[] = "$OpenBSD: destruct.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "trek.h"
#include "getpar.h"
diff --git a/games/trek/getpar.c b/games/trek/getpar.c
index fd98b2e5e90..685548a1e0c 100644
--- a/games/trek/getpar.c
+++ b/games/trek/getpar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getpar.c,v 1.11 2003/06/03 03:01:41 millert Exp $ */
+/* $OpenBSD: getpar.c,v 1.12 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: getpar.c,v 1.4 1995/04/24 12:25:57 cgd Exp $ */
/*
@@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)getpar.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: getpar.c,v 1.11 2003/06/03 03:01:41 millert Exp $";
+static char rcsid[] = "$OpenBSD: getpar.c,v 1.12 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "getpar.h"
#include "trek.h"
diff --git a/games/trek/setup.c b/games/trek/setup.c
index 0ced7eb037c..7bd262492c5 100644
--- a/games/trek/setup.c
+++ b/games/trek/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $ */
+/* $OpenBSD: setup.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:26:06 cgd Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $";
+static char rcsid[] = "$OpenBSD: setup.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $
#include <math.h>
#include <unistd.h>
#include <stdlib.h>
+#include <string.h>
#include <err.h>
#include "trek.h"
#include "getpar.h"
diff --git a/games/trek/torped.c b/games/trek/torped.c
index ac7c14a8a5a..324585223c3 100644
--- a/games/trek/torped.c
+++ b/games/trek/torped.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: torped.c,v 1.6 2003/06/03 03:01:42 millert Exp $ */
+/* $OpenBSD: torped.c,v 1.7 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: torped.c,v 1.3 1995/04/22 10:59:34 cgd Exp $ */
/*
@@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: torped.c,v 1.6 2003/06/03 03:01:42 millert Exp $";
+static char rcsid[] = "$OpenBSD: torped.c,v 1.7 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
+#include <stdlib.h>
#include <math.h>
#include "trek.h"
#include "getpar.h"