mirror of
https://github.com/curl/curl.git
synced 2025-09-30 16:06:51 +03:00
code cleanup
This commit is contained in:
parent
7d7f63059a
commit
975c171d5a
|
@ -58,9 +58,6 @@
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_PROCESS_H
|
|
||||||
#include <process.h> /* Some have getpid() here */
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -3,21 +3,7 @@
|
||||||
#ifndef ARES_NAMESER_H
|
#ifndef ARES_NAMESER_H
|
||||||
#define ARES_NAMESER_H
|
#define ARES_NAMESER_H
|
||||||
|
|
||||||
/* Windows-only header file provided by liren@vivisimo.com to make his Windows
|
/* header file provided by liren@vivisimo.com */
|
||||||
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 */
|
|
||||||
|
|
||||||
#define NS_CMPRSFLGS 0xc0
|
#define NS_CMPRSFLGS 0xc0
|
||||||
#define NS_IN6ADDRSZ 16
|
#define NS_IN6ADDRSZ 16
|
||||||
|
|
Loading…
Reference in New Issue
Block a user