diff options
author | mestre <mestre@cvs.openbsd.org> | 2016-01-10 15:12:21 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2016-01-10 15:12:21 +0000 |
commit | 4eb8dc7c942da6b97edaac8fd6a12dd6c012af17 (patch) | |
tree | 241409a3c4e6a88ce5547f1c966ac9e34ffff6aa /games/hack | |
parent | aa3c633d7ae0ed477f87b239b227cee75e459e58 (diff) |
#ifdef QUEST then a few functions won't work, because of that include
<stdlib.h> if we are on a QUEST
OK tb@
Diffstat (limited to 'games/hack')
-rw-r--r-- | games/hack/hack.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/games/hack/hack.c b/games/hack/hack.c index 8049e6cf62a..640ff236a51 100644 --- a/games/hack/hack.c +++ b/games/hack/hack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.c,v 1.10 2016/01/09 18:33:15 mestre Exp $ */ +/* $OpenBSD: hack.c,v 1.11 2016/01/10 15:12:20 mestre Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -62,6 +62,9 @@ */ #include <stdio.h> +#ifdef QUEST +#include <stdlib.h> +#endif #include "hack.h" |