summaryrefslogtreecommitdiff
path: root/games/hangman/ksyms.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/ksyms.c
parent36111a1b68eb0bc19024c607fa9dc9574a8ec63c (diff)
Include only needed header files per each source file
With help and OK from tb@
Diffstat (limited to 'games/hangman/ksyms.c')
-rw-r--r--games/hangman/ksyms.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/hangman/ksyms.c b/games/hangman/ksyms.c
index cdda4b484f3..2dc6043c83e 100644
--- a/games/hangman/ksyms.c
+++ b/games/hangman/ksyms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ksyms.c,v 1.8 2015/02/07 03:26:20 tedu Exp $ */
+/* $OpenBSD: ksyms.c,v 1.9 2015/12/31 15:20:36 mestre Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -16,14 +16,15 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <unistd.h>
#include <ctype.h>
+#include <curses.h>
+#include <elf_abi.h>
+#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdlib.h>
#include <string.h>
-
-#include <sys/exec.h>
-#include <elf_abi.h>
+#include <unistd.h>
#include "hangman.h"