diff 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
line wrap: on
line diff
--- a/src/process.c	Wed Mar 31 18:16:12 2010 +0300
+++ b/src/process.c	Wed Mar 31 13:39:03 2010 -0700
@@ -69,12 +69,12 @@
 #endif
 #endif /* HAVE_SOCKETS */
 
-#if defined(BSD_SYSTEM)
+#if defined(HAVE_SYS_IOCTL_H)
 #include <sys/ioctl.h>
 #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5)
 #include <fcntl.h>
 #endif /* HAVE_PTYS and no O_NDELAY */
-#endif /* BSD_SYSTEM */
+#endif /* HAVE_SYS_IOCTL_H */
 
 #ifdef NEED_BSDTTY
 #include <bsdtty.h>