Mercurial > emacs
diff src/process.c @ 111829:a60f0af8cb39
* src/process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 04 Dec 2010 20:23:22 -0500 |
parents | 6c24c5598611 |
children | 417b1e4d63cd 7df2e30d72ec |
line wrap: on
line diff
--- a/src/process.c Sat Dec 04 20:01:23 2010 -0500 +++ b/src/process.c Sat Dec 04 20:23:22 2010 -0500 @@ -3807,7 +3807,7 @@ } -#if defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) +#if defined(HAVE_NET_IF_H) #ifdef SIOCGIFCONF DEFUN ("network-interface-list", Fnetwork_interface_list, Snetwork_interface_list, 0, 0, 0, @@ -4050,7 +4050,7 @@ return any ? res : Qnil; } #endif -#endif /* defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) */ +#endif /* defined(HAVE_NET_IF_H) */ /* Turn off input and output for process PROC. */ @@ -7704,14 +7704,14 @@ defsubr (&Sset_network_process_option); defsubr (&Smake_network_process); defsubr (&Sformat_network_address); -#if defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) +#if defined(HAVE_NET_IF_H) #ifdef SIOCGIFCONF defsubr (&Snetwork_interface_list); #endif #if defined(SIOCGIFADDR) || defined(SIOCGIFHWADDR) || defined(SIOCGIFFLAGS) defsubr (&Snetwork_interface_info); #endif -#endif /* defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) */ +#endif /* defined(HAVE_NET_IF_H) */ #ifdef DATAGRAM_SOCKETS defsubr (&Sprocess_datagram_address); defsubr (&Sset_process_datagram_address);