]> Git repositories of Nishi - tewi.git/commitdiff
fix compat headers
authorNishi <nishi@nishi.boats>
Thu, 10 Oct 2024 02:09:40 +0000 (02:09 +0000)
committerNishi <nishi@nishi.boats>
Thu, 10 Oct 2024 02:09:40 +0000 (02:09 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@303 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c

index 51508965a917983a3d87f431dd66b8b3113330e1..c95016124e77eec2511e0e98426155f895a9759f 100644 (file)
@@ -76,6 +76,10 @@ typedef int socklen_t;
 #include <OS.h>
 #endif
 
+#ifdef __USLC__
+typedef int socklen_t;
+#endif
+
 #ifndef S_ISDIR
 #define S_ISDIR(x) ((x) & _S_IFDIR)
 #endif