diff options
| author | Dan Nicolaescu | 2010-03-31 13:39:03 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-03-31 13:39:03 -0700 |
| commit | 1d29df5994318178a5505946ec1c4c3c06a25c93 (patch) | |
| tree | 015a9dfe5a40ab20b24a8eee34423cc3babe4a87 /src/process.c | |
| parent | 1cd095c67cd41cf73cf5a382c261d16b9ec2e25e (diff) | |
| download | emacs-1d29df5994318178a5505946ec1c4c3c06a25c93.tar.gz emacs-1d29df5994318178a5505946ec1c4c3c06a25c93.zip | |
Clean up BSD_SYSTEM use.
* xterm.c:
* process.c:
* emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard
for including <sys/ioctl.h>.
* sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this
code is only used for MSDOS.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 4f103752296..43fa78c7bd4 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -69,12 +69,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 69 | #endif | 69 | #endif |
| 70 | #endif /* HAVE_SOCKETS */ | 70 | #endif /* HAVE_SOCKETS */ |
| 71 | 71 | ||
| 72 | #if defined(BSD_SYSTEM) | 72 | #if defined(HAVE_SYS_IOCTL_H) |
| 73 | #include <sys/ioctl.h> | 73 | #include <sys/ioctl.h> |
| 74 | #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) | 74 | #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) |
| 75 | #include <fcntl.h> | 75 | #include <fcntl.h> |
| 76 | #endif /* HAVE_PTYS and no O_NDELAY */ | 76 | #endif /* HAVE_PTYS and no O_NDELAY */ |
| 77 | #endif /* BSD_SYSTEM */ | 77 | #endif /* HAVE_SYS_IOCTL_H */ |
| 78 | 78 | ||
| 79 | #ifdef NEED_BSDTTY | 79 | #ifdef NEED_BSDTTY |
| 80 | #include <bsdtty.h> | 80 | #include <bsdtty.h> |