diff --git a/src/s/bsd386.h b/src/s/bsd386.h index 000a9326ae7..040519f510a 100644 --- a/src/s/bsd386.h +++ b/src/s/bsd386.h @@ -35,9 +35,11 @@ #define HAVE_TERMIOS #define NO_TERMIO -/* this silences a few compilation warnings */ +/* This silences a few compilation warnings. */ +#ifdef emacs #undef BSD -#define BSD 199103 +#include /* To get BSD defined consistently. */ +#endif #define WAITTYPE int /* get this since it won't be included if WAITTYPE is defined */