Subversion Repositories Tewi

Rev

Rev 331 | Rev 333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 331 Rev 332
Line 1... Line 1...
1
/* $Id: server.c 331 2024-10-14 18:00:31Z nishi $ */
1
/* $Id: server.c 332 2024-10-14 18:02:38Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 82... Line 82...
82
#endif
82
#endif
83
#endif
83
#endif
84
#include <sys/socket.h>
84
#include <sys/socket.h>
85
#include <arpa/inet.h>
85
#include <arpa/inet.h>
86
#if !defined(__PPU__)
86
#if !defined(__PPU__)
-
 
87
#ifdef __NeXT__
-
 
88
#include <netinet/in_systm.h>
-
 
89
#endif
87
#include <netinet/tcp.h>
90
#include <netinet/tcp.h>
88
#endif
91
#endif
89
#ifndef NO_GETNAMEINFO
92
#ifndef NO_GETNAMEINFO
90
#include <netdb.h>
93
#include <netdb.h>
91
#endif
94
#endif
Line 97... Line 100...
97
 
100
 
98
#ifdef __HAIKU__
101
#ifdef __HAIKU__
99
#include <OS.h>
102
#include <OS.h>
100
#endif
103
#endif
101
 
104
 
102
#if defined(__USLC__) || defined(__NeXT__) || defined(__NETWARE__)
105
#if defined(__USLC__) || defined(__NETWARE__)
103
typedef int socklen_t;
106
typedef int socklen_t;
104
#endif
107
#endif
105
 
108
 
106
#ifndef S_ISDIR
109
#ifndef S_ISDIR
107
#define S_ISDIR(x) ((x) & _S_IFDIR)
110
#define S_ISDIR(x) ((x) & _S_IFDIR)