diff options
| author | Richard M. Stallman | 1995-05-09 17:44:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-05-09 17:44:05 +0000 |
| commit | 1872c299cea930bab2028ee2834454c790723d47 (patch) | |
| tree | 455db53525cfbc482929cd7084ca5c9887f6e3b8 /src | |
| parent | b004e86006c5add60d429ae1e7f59922d614bcc5 (diff) | |
| download | emacs-1872c299cea930bab2028ee2834454c790723d47.tar.gz emacs-1872c299cea930bab2028ee2834454c790723d47.zip | |
(BSD): Include sys/param.h instead of redefining BSD.
But do this only if emacs is defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/bsd386.h | 6 |
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 @@ | |||
| 35 | #define HAVE_TERMIOS | 35 | #define HAVE_TERMIOS |
| 36 | #define NO_TERMIO | 36 | #define NO_TERMIO |
| 37 | 37 | ||
| 38 | /* this silences a few compilation warnings */ | 38 | /* This silences a few compilation warnings. */ |
| 39 | #ifdef emacs | ||
| 39 | #undef BSD | 40 | #undef BSD |
| 40 | #define BSD 199103 | 41 | #include <sys/param.h> /* To get BSD defined consistently. */ |
| 42 | #endif | ||
| 41 | 43 | ||
| 42 | #define WAITTYPE int | 44 | #define WAITTYPE int |
| 43 | /* get this since it won't be included if WAITTYPE is defined */ | 45 | /* get this since it won't be included if WAITTYPE is defined */ |