# HG changeset patch # User John "Elwin" Edwards # Date 1429626841 14400 # Node ID ce0cf824c19260a68d67f37452bacd6d1fed385f # Parent cfa9d1609b7876d55944e352a2aa7945185367f3 xrogue: add missing includes. This prevents some warnings. diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/command.c --- a/xrogue/command.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/command.c Tue Apr 21 10:34:01 2015 -0400 @@ -19,6 +19,8 @@ #include #include #include +#include +#include #include "mach_dep.h" #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/effects.c --- a/xrogue/effects.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/effects.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/init.c --- a/xrogue/init.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/init.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" #include "mach_dep.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/io.c --- a/xrogue/io.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/io.c Tue Apr 21 10:34:01 2015 -0400 @@ -19,6 +19,7 @@ #include #include #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/list.c --- a/xrogue/list.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/list.c Tue Apr 21 10:34:01 2015 -0400 @@ -17,6 +17,7 @@ */ #include +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/main.c --- a/xrogue/main.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/main.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,8 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include +#include #include #include #include diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/misc.c --- a/xrogue/misc.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/misc.c Tue Apr 21 10:34:01 2015 -0400 @@ -12,8 +12,10 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/options.c --- a/xrogue/options.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/options.c Tue Apr 21 10:34:01 2015 -0400 @@ -23,6 +23,7 @@ #include #include +#include #include "rogue.h" #define NUM_OPTS (sizeof optlist / sizeof (OPTION)) diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/pack.c --- a/xrogue/pack.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/pack.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/player.c --- a/xrogue/player.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/player.c Tue Apr 21 10:34:01 2015 -0400 @@ -13,6 +13,7 @@ */ #include +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/potions.c --- a/xrogue/potions.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/potions.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/rings.c --- a/xrogue/rings.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/rings.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,8 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/rip.c --- a/xrogue/rip.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/rip.c Tue Apr 21 10:34:01 2015 -0400 @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include "mach_dep.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/rooms.c --- a/xrogue/rooms.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/rooms.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/save.c --- a/xrogue/save.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/save.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/scrolls.c --- a/xrogue/scrolls.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/scrolls.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/state.c --- a/xrogue/state.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/state.c Tue Apr 21 10:34:01 2015 -0400 @@ -69,6 +69,7 @@ #endif #include +#include #include #include #include diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/sticks.c --- a/xrogue/sticks.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/sticks.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/things.c --- a/xrogue/things.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/things.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/trader.c --- a/xrogue/trader.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/trader.c Tue Apr 21 10:34:01 2015 -0400 @@ -13,6 +13,7 @@ */ #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/util.c --- a/xrogue/util.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/util.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" /* diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/weapons.c --- a/xrogue/weapons.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/weapons.c Tue Apr 21 10:34:01 2015 -0400 @@ -18,6 +18,7 @@ #include #include +#include #include "rogue.h" boomerang(ydelta, xdelta, item, tp) diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/wear.c --- a/xrogue/wear.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/wear.c Tue Apr 21 10:34:01 2015 -0400 @@ -16,6 +16,7 @@ See the file LICENSE.TXT for full copyright and licensing information. */ +#include #include #include "rogue.h" diff -r cfa9d1609b78 -r ce0cf824c192 xrogue/wizard.c --- a/xrogue/wizard.c Tue Apr 21 10:11:02 2015 -0400 +++ b/xrogue/wizard.c Tue Apr 21 10:34:01 2015 -0400 @@ -21,6 +21,7 @@ * under strange circumstances) */ +#include #include #include #include