use net.h
This commit is contained in:
@@ -18,9 +18,8 @@
|
||||
#ifndef ISC_INET_H
|
||||
#define ISC_INET_H 1
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/net.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
@@ -33,10 +32,6 @@ ISC_LANG_BEGINDECLS
|
||||
* controlled tree.
|
||||
*/
|
||||
|
||||
#ifdef NEED_AF_INET6
|
||||
#define AF_INET6 99
|
||||
#endif
|
||||
|
||||
#ifdef NEED_INET_NTOP
|
||||
const char *isc_inet_ntop(int af, const void *src, char *dst, size_t size);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user