Skip to content
Snippets Groups Projects
Commit 975c171d authored by Yang Tse's avatar Yang Tse
Browse files

code cleanup

parent 7d7f6305
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment