From b962d0bf6671f9a5d3ab10743d161e550000c1a0 Mon Sep 17 00:00:00 2001 From: Nishi Date: Mon, 14 Oct 2024 18:00:31 +0000 Subject: [PATCH] trying to add nextstep support git-svn-id: file:///raid/svn-personal/tewi/trunk@331 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 3 +-- config.h.tmpl | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.43.0