summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-09 17:44:05 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-09 17:44:05 +0000
commit1f7d55d5740f98a8b97e5c08ebebadbbc0599e5c (patch)
tree485b38d2ed09610b211804894a672fa7f67ad1bc
parentfec058dfc7da814b5cd5c2e0d6bf076556fde32c (diff)
downloademacs-1f7d55d5740f98a8b97e5c08ebebadbbc0599e5c.tar.gz
(BSD): Include sys/param.h instead of redefining BSD.
But do this only if emacs is defined.
-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 */