From: Nishi Date: Mon, 14 Oct 2024 18:00:31 +0000 (+0000) Subject: trying to add nextstep support X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b962d0bf6671f9a5d3ab10743d161e550000c1a0;p=tewi.git trying to add nextstep support git-svn-id: file:///raid/svn-personal/tewi/trunk@331 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index cc5ff48..c9fab18 100644 --- a/Server/server.c +++ b/Server/server.c @@ -83,8 +83,7 @@ typedef int socklen_t; #endif #include #include -#include -#if !defined(__PPU__) && !defined(__NeXT__) +#if !defined(__PPU__) #include #endif #ifndef NO_GETNAMEINFO diff --git a/config.h.tmpl b/config.h.tmpl index ea65540..49e3945 100644 --- a/config.h.tmpl +++ b/config.h.tmpl @@ -80,6 +80,10 @@ #define NO_IPV6 #endif +#if defined(__NeXT__) && !defined(NO_GETNAMEINFO) +#define NO_GETNAMEINFO +#endif + #if defined(__NeXT__) && defined(USE_POLL) #undef USE_POLL #endif