mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(BSD): Include sys/param.h instead of redefining BSD.
But do this only if emacs is defined.
This commit is contained in:
parent
b004e86006
commit
1872c299ce
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user