Mercurial > emacs
comparison src/process.c @ 107722:98f7a4103e8e
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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 31 Mar 2010 13:39:03 -0700 |
parents | 59e2de1eaab1 |
children | 912a8c0c9a8a |
comparison
equal
deleted
inserted
replaced
107721:9b2eadc063cc | 107722:98f7a4103e8e |
---|---|
67 #include <sys/un.h> | 67 #include <sys/un.h> |
68 #endif | 68 #endif |
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> |
81 #endif | 81 #endif |
82 | 82 |