#include <sys/filio.h>
#endif
#ifdef NETWARE
-#ifndef __NOVELL_LIBC__
-NETDB_DEFINE_CONTEXT
-#endif
#undef in_addr_t
#define in_addr_t unsigned long
#endif
*/
else {
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
- NETDB_DEFINE_CONTEXT
h = gethostbyname((char*)hostname);
#else
h = gethostbyname(hostname);
/* For native CLib-based NLM seems we can do a bit more simple. */
#include <nwthread.h>
-/* Make the CLIB Ctx stuff link */
-/*
-#include <stdio.h>
-#include <netdb.h>
-NETDB_DEFINE_CONTEXT
-*/
-
int main ( void )
{
/* initialize any globals here... */