diff --git a/src/os.h b/src/os.h index 4a89c66..1953a72 100644 --- a/src/os.h +++ b/src/os.h @@ -143,34 +143,6 @@ typedef char* slot_t; /* used internally in utmp.c */ # define FNBLOCK O_NONBLOCK #endif - -/***************************************************************** - * Wait stuff - */ - -# include - -#ifndef WTERMSIG -# define WTERMSIG(status) (status & 0177) -#endif - -#ifndef WSTOPSIG -# define WSTOPSIG(status) ((status >> 8) & 0377) -#endif - -/* NET-2 uses WCOREDUMP */ -#if defined(WCOREDUMP) && !defined(WIFCORESIG) -# define WIFCORESIG(status) WCOREDUMP(status) -#endif - -#ifndef WIFCORESIG -# define WIFCORESIG(status) (status & 0200) -#endif - -#ifndef WEXITSTATUS -# define WEXITSTATUS(status) ((status >> 8) & 0377) -#endif - /***************************************************************** * user defineable stuff */ diff --git a/src/screen.c b/src/screen.c index a0342f1..7be7ab2 100644 --- a/src/screen.c +++ b/src/screen.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include diff --git a/src/window.c b/src/window.c index bc2d2c7..cefb82b 100644 --- a/src/window.c +++ b/src/window.c @@ -40,6 +40,7 @@ #include #include #include +#include #include "fileio.h" #include "help.h"