Mercurial > hg > early-roguelike
changeset 67:c49f7927b0fa
arogue5: add missing header files.
author | elwin |
---|---|
date | Sat, 11 Aug 2012 17:19:03 +0000 |
parents | c56f672244f4 |
children | 7a7fb9b810e1 |
files | arogue5/command.c arogue5/init.c arogue5/io.c arogue5/main.c arogue5/mdport.c arogue5/misc.c arogue5/options.c arogue5/potions.c arogue5/rings.c arogue5/rip.c arogue5/rooms.c arogue5/save.c arogue5/scrolls.c arogue5/state.c arogue5/sticks.c arogue5/things.c arogue5/trader.c arogue5/util.c arogue5/weapons.c arogue5/wear.c arogue5/wizard.c |
diffstat | 21 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/arogue5/command.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/command.c Sat Aug 11 17:19:03 2012 +0000 @@ -13,6 +13,8 @@ */ #include "curses.h" +#include <stdlib.h> +#include <string.h> #include <limits.h> #include <ctype.h> #include <signal.h>
--- a/arogue5/init.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/init.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,7 @@ #include "curses.h" #include <ctype.h> +#include <string.h> #include "rogue.h" #include "mach_dep.h"
--- a/arogue5/io.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/io.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,7 @@ #include "curses.h" #include <ctype.h> +#include <string.h> #include <stdarg.h> #include "rogue.h"
--- a/arogue5/main.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/main.c Sat Aug 11 17:19:03 2012 +0000 @@ -13,6 +13,8 @@ */ #include "curses.h" +#include <stdlib.h> +#include <string.h> #include <fcntl.h> #include <sys/stat.h> #include <limits.h>
--- a/arogue5/mdport.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/mdport.c Sat Aug 11 17:19:03 2012 +0000 @@ -45,6 +45,7 @@ #endif #include <stdlib.h> +#include <string.h> #if defined(_WIN32) && !defined(__MINGW32__) #define PATH_MAX MAX_PATH
--- a/arogue5/misc.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/misc.c Sat Aug 11 17:19:03 2012 +0000 @@ -9,7 +9,9 @@ */ #include "curses.h" +#include <stdlib.h> #include <ctype.h> +#include <string.h> #include "rogue.h" /*
--- a/arogue5/options.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/options.c Sat Aug 11 17:19:03 2012 +0000 @@ -16,6 +16,7 @@ #include "curses.h" #include <ctype.h> +#include <string.h> #include "rogue.h" #define NUM_OPTS (sizeof optlist / sizeof (OPTION))
--- a/arogue5/potions.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/potions.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,8 @@ #include "curses.h" #include "rogue.h" +#include <stdlib.h> +#include <string.h>
--- a/arogue5/rings.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/rings.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,8 @@ #include "curses.h" #include "rogue.h" +#include <stdlib.h> +#include <string.h> /* * how much food does this ring use up?
--- a/arogue5/rip.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/rip.c Sat Aug 11 17:19:03 2012 +0000 @@ -21,6 +21,7 @@ #include <fcntl.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include "curses.h" #include <time.h> #include <signal.h>
--- a/arogue5/rooms.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/rooms.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,7 @@ #include "curses.h" #include "rogue.h" +#include <stdlib.h> do_rooms() {
--- a/arogue5/save.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/save.c Sat Aug 11 17:19:03 2012 +0000 @@ -13,6 +13,8 @@ */ #include "curses.h" +#include <stdlib.h> +#include <string.h> #include <fcntl.h> #include <errno.h> #include <ctype.h>
--- a/arogue5/scrolls.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/scrolls.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,8 @@ #include "curses.h" #include <ctype.h> +#include <stdlib.h> +#include <string.h> #include "rogue.h"
--- a/arogue5/state.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/state.c Sat Aug 11 17:19:03 2012 +0000 @@ -61,6 +61,7 @@ #include <curses.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include "rogue.h" #define READSTAT (format_error || read_error )
--- a/arogue5/sticks.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/sticks.c Sat Aug 11 17:19:03 2012 +0000 @@ -15,6 +15,7 @@ #include "curses.h" #include <ctype.h> +#include <string.h> #include "rogue.h"
--- a/arogue5/things.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/things.c Sat Aug 11 17:19:03 2012 +0000 @@ -15,6 +15,7 @@ #include "curses.h" #include <ctype.h> +#include <string.h> #include "rogue.h" /*
--- a/arogue5/trader.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/trader.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,7 @@ #include "curses.h" #include "rogue.h" +#include <string.h>
--- a/arogue5/util.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/util.c Sat Aug 11 17:19:03 2012 +0000 @@ -15,6 +15,7 @@ #include "curses.h" #include "rogue.h" #include <ctype.h> +#include <string.h> /* * aggravate:
--- a/arogue5/weapons.c Sat Aug 11 16:27:20 2012 +0000 +++ b/arogue5/weapons.c Sat Aug 11 17:19:03 2012 +0000 @@ -14,6 +14,7 @@ #include "curses.h" #include <ctype.h> +#include <string.h> #include "rogue.h"