From 908fee497b5928b4f994f014e4da5f03fcef9279 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 5 Jun 1994 18:05:15 +0000 Subject: [PATCH] (BSD): Redefine. (WAITTYPE, WRETCODE, WCOREDUMP): New definitions. Include wait.h. --- src/s/bsd386.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 +#endif +#define WRETCODE(w) WEXITSTATUS(w) +#ifndef WCOREDUMP +#define WCOREDUMP(w) ((w) & 0200) +#endif -- 2.39.5