diff options
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/process.c b/src/process.c index f40e8e53a2..85a4885bbf 100644 --- a/src/process.c +++ b/src/process.c @@ -75,11 +75,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ # include <sys/stropts.h> #endif -#ifdef HAVE_RES_INIT -#include <arpa/nameser.h> -#include <resolv.h> -#endif - #ifdef HAVE_UTIL_H #include <util.h> #endif @@ -3827,10 +3822,6 @@ usage: (make-network-process &rest ARGS) */) immediate_quit = 1; QUIT; -#ifdef HAVE_RES_INIT - res_init (); -#endif - struct addrinfo hints; memset (&hints, 0, sizeof hints); hints.ai_family = family; @@ -3910,10 +3901,6 @@ usage: (make-network-process &rest ARGS) */) immediate_quit = 1; QUIT; -#ifdef HAVE_RES_INIT - res_init (); -#endif - host_info_ptr = gethostbyname ((const char *) SDATA (host)); immediate_quit = 0; |