]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
code cleanup
authorYang Tse <yangsita@gmail.com>
Tue, 16 Sep 2008 18:43:25 +0000 (18:43 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 16 Sep 2008 18:43:25 +0000 (18:43 +0000)
ares/ares_init.c
ares/nameser.h

index 427ee0cc323269e84a2004cf3925208aa222405b..d4e15052b14ede8c442b1a24c371970f0e7407cb 100644 (file)
@@ -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>
index f2b68f13b1069ff6200d728067a8e72167901e28..e28de9a2f71c84edeac1982cd3c2645dee46b2a1 100644 (file)
@@ -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