srogue: include missing headers.

This commit is contained in:
John "Elwin" Edwards 2012-01-27 17:29:30 +00:00
parent 0195eba9bb
commit 5114a73d41
13 changed files with 22 additions and 0 deletions

View file

@ -16,11 +16,15 @@
#include <ctype.h> #include <ctype.h>
#include <signal.h> #include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h> #include <limits.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"
#ifdef __DJGPP__ #ifdef __DJGPP__
#include <process.h> #include <process.h>
#else
#include <unistd.h>
#endif #endif
/* /*

View file

@ -15,6 +15,7 @@
*/ */
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -16,6 +16,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -15,6 +15,8 @@
* See the file LICENSE.TXT for full copyright and licensing information. * See the file LICENSE.TXT for full copyright and licensing information.
*/ */
#include <stdlib.h>
#include <string.h>
#include <time.h> #include <time.h>
#include <termios.h> #include <termios.h>
#include <fcntl.h> #include <fcntl.h>

View file

@ -16,6 +16,7 @@
#include <termios.h> #include <termios.h>
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -14,6 +14,8 @@
* See the file LICENSE.TXT for full copyright and licensing information. * See the file LICENSE.TXT for full copyright and licensing information.
*/ */
#include <stdlib.h>
#include <string.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -14,6 +14,8 @@
* See the file LICENSE.TXT for full copyright and licensing information. * See the file LICENSE.TXT for full copyright and licensing information.
*/ */
#include <stdlib.h>
#include <string.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -16,6 +16,7 @@
#include <signal.h> #include <signal.h>
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>
#include <fcntl.h> #include <fcntl.h>
@ -51,6 +52,7 @@ static char *rip[] = {
#define RIP_LINES (sizeof rip / (sizeof (char *))) #define RIP_LINES (sizeof rip / (sizeof (char *)))
char *killname(); char *killname();
void writelog(int amount, int aflag, char monst);
/* /*
* death: * death:

View file

@ -14,6 +14,8 @@
* See the file LICENSE.TXT for full copyright and licensing information. * See the file LICENSE.TXT for full copyright and licensing information.
*/ */
#include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>

View file

@ -14,6 +14,8 @@
* See the file LICENSE.TXT for full copyright and licensing information. * See the file LICENSE.TXT for full copyright and licensing information.
*/ */
#include <stdlib.h>
#include <string.h>
#include <ctype.h> #include <ctype.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -62,6 +62,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <assert.h> #include <assert.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -16,6 +16,7 @@
*/ */
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include "rogue.h" #include "rogue.h"
#include "rogue.ext" #include "rogue.ext"

View file

@ -14,6 +14,7 @@
* See the file LICENSE.TXT for full copyright and licensing information. * See the file LICENSE.TXT for full copyright and licensing information.
*/ */
#include <stdlib.h>
#include <termios.h> #include <termios.h>
#include <ctype.h> #include <ctype.h>
#include "rogue.h" #include "rogue.h"