Loading lib/connect.c +5 −2 Original line number Diff line number Diff line Loading @@ -59,10 +59,13 @@ #include <stdlib.h> /* required for free() prototype, without it, this crashes */ #endif /* on macos 68K */ #if (defined(HAVE_FIONBIO) && defined(__NOVELL_LIBC__)) #if (defined(HAVE_FIONBIO) && defined(NETWARE)) #include <sys/filio.h> #endif #if (defined(NETWARE) && defined(__NOVELL_LIBC__)) #ifdef NETWARE #ifndef __NOVELL_LIBC__ NETDB_DEFINE_CONTEXT #endif #undef in_addr_t #define in_addr_t unsigned long #endif Loading lib/hostip.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,9 +26,9 @@ #include "setup.h" #include "hash.h" #if (defined(NETWARE) && defined(__NOVELL_LIBC__)) #ifdef NETWARE #undef in_addr_t #define in_addr_t uint32_t #define in_addr_t unsigned long #endif /* Loading lib/hostip4.c +5 −0 Original line number Diff line number Diff line Loading @@ -284,7 +284,12 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, * which the gethostbyname() is the preferred() function. */ else { #if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) NETDB_DEFINE_CONTEXT h = gethostbyname((char*)hostname); #else h = gethostbyname(hostname); #endif if (!h) infof(conn->data, "gethostbyname(2) failed for %s\n", hostname); #endif /*HAVE_GETHOSTBYNAME_R */ Loading lib/inet_ntop.c +4 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,10 @@ #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) /* this platform has a inet_ntoa_r() function, but no proto declared anywhere so we include our own proto to make compilers happy */ Loading lib/timeval.c +3 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,9 @@ static int gettimeofday(struct timeval *tp, void *nothing) } #else /* WIN32 */ /* non-win32 version of Curl_gettimeofday() */ #if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) #include <sys/timeval.h> #endif static int gettimeofday(struct timeval *tp, void *nothing) { (void)nothing; /* we don't support specific time-zones */ Loading Loading
lib/connect.c +5 −2 Original line number Diff line number Diff line Loading @@ -59,10 +59,13 @@ #include <stdlib.h> /* required for free() prototype, without it, this crashes */ #endif /* on macos 68K */ #if (defined(HAVE_FIONBIO) && defined(__NOVELL_LIBC__)) #if (defined(HAVE_FIONBIO) && defined(NETWARE)) #include <sys/filio.h> #endif #if (defined(NETWARE) && defined(__NOVELL_LIBC__)) #ifdef NETWARE #ifndef __NOVELL_LIBC__ NETDB_DEFINE_CONTEXT #endif #undef in_addr_t #define in_addr_t unsigned long #endif Loading
lib/hostip.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,9 +26,9 @@ #include "setup.h" #include "hash.h" #if (defined(NETWARE) && defined(__NOVELL_LIBC__)) #ifdef NETWARE #undef in_addr_t #define in_addr_t uint32_t #define in_addr_t unsigned long #endif /* Loading
lib/hostip4.c +5 −0 Original line number Diff line number Diff line Loading @@ -284,7 +284,12 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, * which the gethostbyname() is the preferred() function. */ else { #if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) NETDB_DEFINE_CONTEXT h = gethostbyname((char*)hostname); #else h = gethostbyname(hostname); #endif if (!h) infof(conn->data, "gethostbyname(2) failed for %s\n", hostname); #endif /*HAVE_GETHOSTBYNAME_R */ Loading
lib/inet_ntop.c +4 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,10 @@ #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) /* this platform has a inet_ntoa_r() function, but no proto declared anywhere so we include our own proto to make compilers happy */ Loading
lib/timeval.c +3 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,9 @@ static int gettimeofday(struct timeval *tp, void *nothing) } #else /* WIN32 */ /* non-win32 version of Curl_gettimeofday() */ #if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) #include <sys/timeval.h> #endif static int gettimeofday(struct timeval *tp, void *nothing) { (void)nothing; /* we don't support specific time-zones */ Loading