* src/process.c: Include <sys/ioctl.h> unconditionally,
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 15 Nov 2010 06:27:41 +0000 (22:27 -0800)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 15 Nov 2010 06:27:41 +0000 (22:27 -0800)
keyboard.c already does it.

src/ChangeLog
src/process.c

index bef5242..912e9ae 100644 (file)
@@ -1,5 +1,8 @@
 2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * process.c: Include <sys/ioctl.h> unconditionally,
+       keyboard.c already does it.
+
        * keyboard.c (pending_malloc_warning): Add const to match
        definition in alloc.c.
        (Fset_input_interrupt_mode): Simplify #ifdefs.
index e151506..c38b94a 100644 (file)
@@ -56,12 +56,10 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #endif
 #endif
 
-#if defined(HAVE_SYS_IOCTL_H)
 #include <sys/ioctl.h>
 #if defined(HAVE_NET_IF_H)
 #include <net/if.h>
 #endif /* HAVE_NET_IF_H */
-#endif /* HAVE_SYS_IOCTL_H */
 
 #ifdef NEED_BSDTTY
 #include <bsdtty.h>