summaryrefslogtreecommitdiff
path: root/games/hangman/getword.c
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2015-12-31 15:20:37 +0000
committermestre <mestre@cvs.openbsd.org>2015-12-31 15:20:37 +0000
commit69a0e9ebd08e21d506943c42429a62788ca7f0a4 (patch)
treee1f2b492ccc8fe9d2d8cec8286e9058986c6201c /games/hangman/getword.c
parent36111a1b68eb0bc19024c607fa9dc9574a8ec63c (diff)
Include only needed header files per each source file
With help and OK from tb@
Diffstat (limited to 'games/hangman/getword.c')
-rw-r--r--games/hangman/getword.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/hangman/getword.c b/games/hangman/getword.c
index 8b437e9d6b1..b9c1d4db771 100644
--- a/games/hangman/getword.c
+++ b/games/hangman/getword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getword.c,v 1.9 2015/10/24 17:55:02 mmcc Exp $ */
+/* $OpenBSD: getword.c,v 1.10 2015/12/31 15:20:36 mestre Exp $ */
/* $NetBSD: getword.c,v 1.4 1995/03/23 08:32:45 cgd Exp $ */
/*
@@ -30,7 +30,12 @@
* SUCH DAMAGE.
*/
+#include <ctype.h>
+#include <curses.h>
+#include <err.h>
#include <stdlib.h>
+#include <string.h>
+
#include "hangman.h"
#include "pathnames.h"