summaryrefslogtreecommitdiffstats
path: root/games/sail
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-09 10:50:29 +0000
committerjb <jb@FreeBSD.org>1998-05-09 10:50:29 +0000
commit0b8d784850928b448cb8b870169fabaf4cd292a4 (patch)
tree662421805536bf41427d1b154030349754fa3bfd /games/sail
parent7689e1e466788151fa3729c0c24d1c3773d50879 (diff)
downloadFreeBSD-src-0b8d784850928b448cb8b870169fabaf4cd292a4.zip
FreeBSD-src-0b8d784850928b448cb8b870169fabaf4cd292a4.tar.gz
Add #include string.h to get prototypes.
Diffstat (limited to 'games/sail')
-rw-r--r--games/sail/dr_2.c1
-rw-r--r--games/sail/pl_5.c1
-rw-r--r--games/sail/pl_7.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/games/sail/dr_2.c b/games/sail/dr_2.c
index 472db84..908287d 100644
--- a/games/sail/dr_2.c
+++ b/games/sail/dr_2.c
@@ -35,6 +35,7 @@
static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
+#include <string.h>
#include "driver.h"
#define couldwin(f,t) (f->specs->crew2 > t->specs->crew2 * 1.5)
diff --git a/games/sail/pl_5.c b/games/sail/pl_5.c
index 85e3a2e..a8e3292 100644
--- a/games/sail/pl_5.c
+++ b/games/sail/pl_5.c
@@ -35,6 +35,7 @@
static char sccsid[] = "@(#)pl_5.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
+#include <string.h>
#include "player.h"
#define turnfirst(x) (*x == 'r' || *x == 'l')
diff --git a/games/sail/pl_7.c b/games/sail/pl_7.c
index 6a20737..80efdd0 100644
--- a/games/sail/pl_7.c
+++ b/games/sail/pl_7.c
@@ -36,6 +36,7 @@ static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/ttydefaults.h>
+#include <string.h>
#include "player.h"
OpenPOWER on IntegriCloud