summaryrefslogtreecommitdiff
path: root/src/s/bsd386.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/bsd386.h')
-rw-r--r--src/s/bsd386.h6
1 files changed, 4 insertions, 2 deletions
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 <sys/param.h> /* To get BSD defined consistently. */
+#endif
#define WAITTYPE int
/* get this since it won't be included if WAITTYPE is defined */