From dec970210b07813099cf00b0b1338d0d0ba341cf Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Tue, 21 Apr 2015 10:34:01 -0400 Subject: [PATCH] xrogue: add missing includes. This prevents some warnings. --- xrogue/command.c | 2 ++ xrogue/effects.c | 1 + xrogue/init.c | 1 + xrogue/io.c | 1 + xrogue/list.c | 1 + xrogue/main.c | 2 ++ xrogue/misc.c | 2 ++ xrogue/options.c | 1 + xrogue/pack.c | 1 + xrogue/player.c | 1 + xrogue/potions.c | 1 + xrogue/rings.c | 2 ++ xrogue/rip.c | 1 + xrogue/rooms.c | 1 + xrogue/save.c | 1 + xrogue/scrolls.c | 1 + xrogue/state.c | 1 + xrogue/sticks.c | 1 + xrogue/things.c | 1 + xrogue/trader.c | 1 + xrogue/util.c | 1 + xrogue/weapons.c | 1 + xrogue/wear.c | 1 + xrogue/wizard.c | 1 + 24 files changed, 28 insertions(+) diff --git a/xrogue/command.c b/xrogue/command.c index 42a5327..b51587a 100644 --- a/xrogue/command.c +++ b/xrogue/command.c @@ -19,6 +19,8 @@ #include #include #include +#include +#include #include "mach_dep.h" #include "rogue.h" diff --git a/xrogue/effects.c b/xrogue/effects.c index ca53277..0c68ab3 100644 --- a/xrogue/effects.c +++ b/xrogue/effects.c @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff --git a/xrogue/init.c b/xrogue/init.c index 1735297..921b35b 100644 --- a/xrogue/init.c +++ b/xrogue/init.c @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" #include "mach_dep.h" diff --git a/xrogue/io.c b/xrogue/io.c index d0e2136..8e7102e 100644 --- a/xrogue/io.c +++ b/xrogue/io.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "rogue.h" /* diff --git a/xrogue/list.c b/xrogue/list.c index a65555b..4c3868b 100644 --- a/xrogue/list.c +++ b/xrogue/list.c @@ -17,6 +17,7 @@ */ #include +#include #include #include "rogue.h" diff --git a/xrogue/main.c b/xrogue/main.c index a685c11..ecd8eb8 100644 --- a/xrogue/main.c +++ b/xrogue/main.c @@ -16,6 +16,8 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include +#include #include #include #include diff --git a/xrogue/misc.c b/xrogue/misc.c index 8be1ee3..c0fa859 100644 --- a/xrogue/misc.c +++ b/xrogue/misc.c @@ -12,8 +12,10 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include +#include #include "rogue.h" /* diff --git a/xrogue/options.c b/xrogue/options.c index 64bcfbf..2824720 100644 --- a/xrogue/options.c +++ b/xrogue/options.c @@ -23,6 +23,7 @@ #include #include +#include #include "rogue.h" #define NUM_OPTS (sizeof optlist / sizeof (OPTION)) diff --git a/xrogue/pack.c b/xrogue/pack.c index eae7a34..654f8f1 100644 --- a/xrogue/pack.c +++ b/xrogue/pack.c @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff --git a/xrogue/player.c b/xrogue/player.c index 3e304c9..51ea7f0 100644 --- a/xrogue/player.c +++ b/xrogue/player.c @@ -13,6 +13,7 @@ */ #include +#include #include #include "rogue.h" diff --git a/xrogue/potions.c b/xrogue/potions.c index e992cbd..b27b281 100644 --- a/xrogue/potions.c +++ b/xrogue/potions.c @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff --git a/xrogue/rings.c b/xrogue/rings.c index a34fd34..ec6ab42 100644 --- a/xrogue/rings.c +++ b/xrogue/rings.c @@ -16,6 +16,8 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include +#include #include #include "rogue.h" diff --git a/xrogue/rip.c b/xrogue/rip.c index e5a2e67..cc96157 100644 --- a/xrogue/rip.c +++ b/xrogue/rip.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include "mach_dep.h" diff --git a/xrogue/rooms.c b/xrogue/rooms.c index d1d9fe6..fafa16f 100644 --- a/xrogue/rooms.c +++ b/xrogue/rooms.c @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff --git a/xrogue/save.c b/xrogue/save.c index 4f38829..dcfdee6 100644 --- a/xrogue/save.c +++ b/xrogue/save.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/xrogue/scrolls.c b/xrogue/scrolls.c index d7ec4e5..9598abe 100644 --- a/xrogue/scrolls.c +++ b/xrogue/scrolls.c @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include #include "rogue.h" diff --git a/xrogue/state.c b/xrogue/state.c index 1ce7428..e9ad025 100644 --- a/xrogue/state.c +++ b/xrogue/state.c @@ -69,6 +69,7 @@ #endif #include +#include #include #include #include diff --git a/xrogue/sticks.c b/xrogue/sticks.c index 0422fa8..32edb15 100644 --- a/xrogue/sticks.c +++ b/xrogue/sticks.c @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff --git a/xrogue/things.c b/xrogue/things.c index 869e451..d4d3100 100644 --- a/xrogue/things.c +++ b/xrogue/things.c @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff --git a/xrogue/trader.c b/xrogue/trader.c index 233559b..9c060ae 100644 --- a/xrogue/trader.c +++ b/xrogue/trader.c @@ -13,6 +13,7 @@ */ #include +#include #include "rogue.h" /* diff --git a/xrogue/util.c b/xrogue/util.c index 23bce40..b794926 100644 --- a/xrogue/util.c +++ b/xrogue/util.c @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff --git a/xrogue/weapons.c b/xrogue/weapons.c index fd27ddf..6ba07c8 100644 --- a/xrogue/weapons.c +++ b/xrogue/weapons.c @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" boomerang(ydelta, xdelta, item, tp) diff --git a/xrogue/wear.c b/xrogue/wear.c index 01c52a7..3098fd1 100644 --- a/xrogue/wear.c +++ b/xrogue/wear.c @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff --git a/xrogue/wizard.c b/xrogue/wizard.c index e18b57d..4483f80 100644 --- a/xrogue/wizard.c +++ b/xrogue/wizard.c @@ -21,6 +21,7 @@ * under strange circumstances) */ +#include #include #include #include