diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2003-05-19 09:00:55 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2003-05-19 09:00:55 +0000 |
commit | ef60b34be07a049394fcaea969e1a4d8b3a7c7db (patch) | |
tree | e4c318c106f6b808dd708b36d1084ab1a6416efb | |
parent | bd60586a3f19e67fffe67b1c3335f2e105eaa358 (diff) |
A few more includes discovered in a -fno-builtin compile
-rw-r--r-- | games/hack/hack.pri.c | 5 | ||||
-rw-r--r-- | games/hack/hack.save.c | 5 | ||||
-rw-r--r-- | games/hack/hack.tty.c | 5 | ||||
-rw-r--r-- | games/hack/hack.vault.c | 5 | ||||
-rw-r--r-- | games/hack/hack.wizard.c | 6 | ||||
-rw-r--r-- | games/hack/hack.zap.c | 5 | ||||
-rw-r--r-- | games/hack/makedefs.c | 5 |
7 files changed, 21 insertions, 15 deletions
diff --git a/games/hack/hack.pri.c b/games/hack/hack.pri.c index 8ce99d4c083..483208aafb8 100644 --- a/games/hack/hack.pri.c +++ b/games/hack/hack.pri.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.pri.c,v 1.8 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: hack.pri.c,v 1.9 2003/05/19 09:00:54 pjanzen Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,11 +62,12 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: hack.pri.c,v 1.8 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: hack.pri.c,v 1.9 2003/05/19 09:00:54 pjanzen Exp $"; #endif /* not lint */ #include <curses.h> #include <stdio.h> +#include <stdlib.h> #include <stdarg.h> #include "hack.h" diff --git a/games/hack/hack.save.c b/games/hack/hack.save.c index c98e5d16555..2c4f4d18afc 100644 --- a/games/hack/hack.save.c +++ b/games/hack/hack.save.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.save.c,v 1.6 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: hack.save.c,v 1.7 2003/05/19 09:00:54 pjanzen Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,10 +62,11 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: hack.save.c,v 1.6 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: hack.save.c,v 1.7 2003/05/19 09:00:54 pjanzen Exp $"; #endif /* not lint */ #include <stdio.h> +#include <stdlib.h> #include <signal.h> #include <unistd.h> #include "hack.h" diff --git a/games/hack/hack.tty.c b/games/hack/hack.tty.c index 8846a6ca49c..31f119a6d30 100644 --- a/games/hack/hack.tty.c +++ b/games/hack/hack.tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.tty.c,v 1.7 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: hack.tty.c,v 1.8 2003/05/19 09:00:54 pjanzen Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: hack.tty.c,v 1.7 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: hack.tty.c,v 1.8 2003/05/19 09:00:54 pjanzen Exp $"; #endif #endif /* not lint */ @@ -109,6 +109,7 @@ static const char rcsid[] = "$OpenBSD: hack.tty.c,v 1.7 2003/05/19 06:30:56 pjan #include "hack.h" #include <stdio.h> #include <stdarg.h> +#include <stdlib.h> #include <termios.h> /* diff --git a/games/hack/hack.vault.c b/games/hack/hack.vault.c index 505af7cf2a5..ec260df705f 100644 --- a/games/hack/hack.vault.c +++ b/games/hack/hack.vault.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.vault.c,v 1.5 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: hack.vault.c,v 1.6 2003/05/19 09:00:54 pjanzen Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,9 +62,10 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: hack.vault.c,v 1.5 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: hack.vault.c,v 1.6 2003/05/19 09:00:54 pjanzen Exp $"; #endif /* not lint */ +#include <stdlib.h> #include "hack.h" #ifdef QUEST void diff --git a/games/hack/hack.wizard.c b/games/hack/hack.wizard.c index 28e3590bae7..619106d8ecd 100644 --- a/games/hack/hack.wizard.c +++ b/games/hack/hack.wizard.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.wizard.c,v 1.4 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: hack.wizard.c,v 1.5 2003/05/19 09:00:54 pjanzen Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,14 +62,14 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: hack.wizard.c,v 1.4 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: hack.wizard.c,v 1.5 2003/05/19 09:00:54 pjanzen Exp $"; #endif /* not lint */ /* wizard code - inspired by rogue code from Merlyn Leroy (digi-g!brian) */ +#include <stdlib.h> #include "hack.h" extern struct permonst pm_wizard; -extern struct monst *makemon(); static void clonewiz(struct monst *); diff --git a/games/hack/hack.zap.c b/games/hack/hack.zap.c index cdb964b1197..f3f4325be4e 100644 --- a/games/hack/hack.zap.c +++ b/games/hack/hack.zap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.zap.c,v 1.7 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: hack.zap.c,v 1.8 2003/05/19 09:00:54 pjanzen Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,9 +62,10 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: hack.zap.c,v 1.7 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: hack.zap.c,v 1.8 2003/05/19 09:00:54 pjanzen Exp $"; #endif /* not lint */ +#include <stdlib.h> #include "hack.h" extern struct monst youmonst; diff --git a/games/hack/makedefs.c b/games/hack/makedefs.c index 2fd6c7ee465..c62b3dbd535 100644 --- a/games/hack/makedefs.c +++ b/games/hack/makedefs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makedefs.c,v 1.5 2003/05/19 06:30:56 pjanzen Exp $ */ +/* $OpenBSD: makedefs.c,v 1.6 2003/05/19 09:00:54 pjanzen Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,11 +62,12 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: makedefs.c,v 1.5 2003/05/19 06:30:56 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: makedefs.c,v 1.6 2003/05/19 09:00:54 pjanzen Exp $"; #endif /* not lint */ #include <ctype.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> |