]> Nishi Git Mirror - tewi.git/commitdiff
trying to add nextstep support
authorNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 18:00:31 +0000 (18:00 +0000)
committerNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 18:00:31 +0000 (18:00 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@331 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c
config.h.tmpl

index cc5ff48bb1d5ad62224b757fa67bbe91640e01e4..c9fab189855bdd8526ad8beb7e0187fbf7f5c204 100644 (file)
@@ -83,8 +83,7 @@ typedef int socklen_t;
 #endif
 #include <sys/socket.h>
 #include <arpa/inet.h>
-#include <netinet/in.h>
-#if !defined(__PPU__) && !defined(__NeXT__)
+#if !defined(__PPU__)
 #include <netinet/tcp.h>
 #endif
 #ifndef NO_GETNAMEINFO
index ea655409e2a8a06d197576e3a32aa4ddb5df9181..49e39457f9b9d07e0a9ebc932db65391efa42d8c 100644 (file)
 #define NO_IPV6
 #endif
 
+#if defined(__NeXT__) && !defined(NO_GETNAMEINFO)
+#define NO_GETNAMEINFO
+#endif
+
 #if defined(__NeXT__) && defined(USE_POLL)
 #undef USE_POLL
 #endif