aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-16 18:43:25 +0000
committerYang Tse <yangsita@gmail.com>2008-09-16 18:43:25 +0000
commit975c171d5a81212bcbcfa335d212c8e640ec5085 (patch)
tree337615aa4675a2739cca4708e0ff853404a6008c /ares
parent7d7f63059adfee00f59485ff099b32b6a76eca80 (diff)
code cleanup
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_init.c3
-rw-r--r--ares/nameser.h16
2 files changed, 1 insertions, 18 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 427ee0cc3..d4e15052b 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -58,9 +58,6 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_PROCESS_H
-#include <process.h> /* Some have getpid() here */
-#endif
#endif
#include <stdio.h>
diff --git a/ares/nameser.h b/ares/nameser.h
index f2b68f13b..e28de9a2f 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 <process.h> /* for the _getpid() proto */
-#endif /* !NETWARE */
-#include <sys/types.h>
-
-#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