summaryrefslogtreecommitdiff
path: root/games/phantasia/include.h
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-04 02:51:26 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-04 02:51:26 +0000
commit72d2536b0b7ff6a9b8d37e875a9486a88cccb4e7 (patch)
tree2e315c6bfd6bd2e3a79e5f8f89dd5f6aed4517e3 /games/phantasia/include.h
parentf1ccc37be0f5008077a5d0e7139f8146090966be (diff)
Tidy, avoid segfaults on unknown users, and deal with long usernames
Diffstat (limited to 'games/phantasia/include.h')
-rw-r--r--games/phantasia/include.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/phantasia/include.h b/games/phantasia/include.h
index 447856657ad..b8b874093ef 100644
--- a/games/phantasia/include.h
+++ b/games/phantasia/include.h
@@ -1,12 +1,15 @@
-/* $OpenBSD: include.h,v 1.2 1998/11/29 19:56:56 pjanzen Exp $ */
+/* $OpenBSD: include.h,v 1.3 2001/02/04 02:51:23 pjanzen Exp $ */
/* $NetBSD: include.h,v 1.3 1995/04/24 12:24:31 cgd Exp $ */
/*
* include.h - includes all important files for Phantasia
*/
+#include <sys/param.h>
+
#include <ctype.h>
#include <curses.h>
+#include <err.h>
#include <errno.h>
#include <math.h>
#include <setjmp.h>