diff src/pty.c @ 1030:d4bc24e6a281 v7.0.156

updated for version 7.0-156
author vimboss
date Wed, 01 Nov 2006 17:12:57 +0000
parents 3fc0f57ecb91
children 17b9587ff6d5
line wrap: on
line diff
--- a/src/pty.c
+++ b/src/pty.c
@@ -51,7 +51,7 @@
 # include <sys/termios.h>
 #endif
 
-#if HAVE_SYS_IOCTL_H
+#ifdef HAVE_SYS_IOCTL_H
 # include <sys/ioctl.h>
 #endif
 
@@ -69,14 +69,14 @@
 # endif
 #endif
 
-#if HAVE_UNISTD_H
+#ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
 
 #if HAVE_TERMIO_H
 # include <termio.h>
 #else
-# if HAVE_TERMIOS_H
+# ifdef HAVE_TERMIOS_H
 #  include <termios.h>
 # endif
 #endif