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

Server/server.c

index c9fab189855bdd8526ad8beb7e0187fbf7f5c204..b7de97ad9f10038eecfbc380cde8b37570b9669b 100644 (file)
@@ -84,6 +84,9 @@ typedef int socklen_t;
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #if !defined(__PPU__)
+#ifdef __NeXT__
+#include <netinet/in_systm.h>
+#endif
 #include <netinet/tcp.h>
 #endif
 #ifndef NO_GETNAMEINFO
@@ -99,7 +102,7 @@ typedef int socklen_t;
 #include <OS.h>
 #endif
 
-#if defined(__USLC__) || defined(__NeXT__) || defined(__NETWARE__)
+#if defined(__USLC__) || defined(__NETWARE__)
 typedef int socklen_t;
 #endif