mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
moved ugly CLIB define to nwos.c.
This commit is contained in:
parent
668c204970
commit
1866b95b7f
@ -42,10 +42,6 @@
|
|||||||
|
|
||||||
#include "inet_ntop.h"
|
#include "inet_ntop.h"
|
||||||
|
|
||||||
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
|
|
||||||
NETINET_DEFINE_CONTEXT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
|
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
|
||||||
/* this platform has a inet_ntoa_r() function, but no proto declared anywhere
|
/* this platform has a inet_ntoa_r() function, but no proto declared anywhere
|
||||||
so we include our own proto to make compilers happy */
|
so we include our own proto to make compilers happy */
|
||||||
|
@ -43,6 +43,9 @@ int netware_init ( void )
|
|||||||
/* Make the CLIB Ctx stuff link */
|
/* Make the CLIB Ctx stuff link */
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
NETDB_DEFINE_CONTEXT
|
NETDB_DEFINE_CONTEXT
|
||||||
|
/* Make the CLIB Inet stuff link */
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
NETINET_DEFINE_CONTEXT
|
||||||
|
|
||||||
int netware_init ( void )
|
int netware_init ( void )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user