diff options
Diffstat (limited to 'src/s/bsd386.h')
-rw-r--r-- | src/s/bsd386.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/s/bsd386.h b/src/s/bsd386.h index 5a3358c6de2..6197d19d71b 100644 --- a/src/s/bsd386.h +++ b/src/s/bsd386.h @@ -25,3 +25,17 @@ #define TAB3 OXTABS #define SYSV_SYSTEM_DIR + +/* this silences a few compilation warnings */ +#undef BSD +#define BSD 199103 + +#define WAITTYPE int +/* get this since it won't be included if WAITTYPE is defined */ +#ifdef emacs +#include <sys/wait.h> +#endif +#define WRETCODE(w) WEXITSTATUS(w) +#ifndef WCOREDUMP +#define WCOREDUMP(w) ((w) & 0200) +#endif |