diff --git a/ares/ares_init.c b/ares/ares_init.c index 427ee0cc323269e84a2004cf3925208aa222405b..d4e15052b14ede8c442b1a24c371970f0e7407cb 100644 --- a/ares/ares_init.c +++ b/ares/ares_init.c @@ -58,9 +58,6 @@ #ifdef HAVE_UNISTD_H #include #endif -#ifdef HAVE_PROCESS_H -#include /* Some have getpid() here */ -#endif #endif #include diff --git a/ares/nameser.h b/ares/nameser.h index f2b68f13b1069ff6200d728067a8e72167901e28..e28de9a2f71c84edeac1982cd3c2645dee46b2a1 100644 --- a/ares/nameser.h +++ b/ares/nameser.h @@ -3,21 +3,7 @@ #ifndef ARES_NAMESER_H #define ARES_NAMESER_H -/* Windows-only header file provided by liren@vivisimo.com to make his Windows - port build */ - -#ifndef NETWARE -#include /* for the _getpid() proto */ -#endif /* !NETWARE */ -#include - -#ifndef NETWARE - -#ifndef __WATCOMC__ -#define getpid() _getpid() -#endif - -#endif /* !NETWARE */ +/* header file provided by liren@vivisimo.com */ #define NS_CMPRSFLGS 0xc0 #define NS_IN6ADDRSZ 16