]> Git repositories of Nishi - tewi.git/commitdiff
trying to add nextstep support
authorNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 17:54:06 +0000 (17:54 +0000)
committerNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 17:54:06 +0000 (17:54 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@328 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c
Server/tw_config.h

index ffa6d7877ae1158c9ae69adaeb0110a4692cfd3e..fb17a96faba95e8e089027e2f2ef21910b993e81 100644 (file)
@@ -79,8 +79,10 @@ typedef int socklen_t;
 #include <poll.h>
 #endif
 #else
+#ifndef __NeXT__
 #include <sys/select.h>
 #endif
+#endif
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
index 80c93c5241534897a15b2c538ad8ffec76b14713..b27d105bb14bb08caf1f6525c9129015aa7eda36 100644 (file)
@@ -13,6 +13,9 @@ extern "C" {
 
 #include <stdint.h>
 #include <stdbool.h>
+#ifdef __NeXT__
+#include <sys/types.h>
+#endif
 
 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__))
 #ifdef USE_WINSOCK1