comments / param.h
This commit is contained in:
parent
e5eabdb3d7
commit
b7654b557f
|
@ -25,21 +25,22 @@
|
||||||
#define strncasecmp memicmp
|
#define strncasecmp memicmp
|
||||||
#endif /* defined(_MSC_VER) && (_MSC_VER >= 1400) */
|
#endif /* defined(_MSC_VER) && (_MSC_VER >= 1400) */
|
||||||
#endif /* #ifndef strncasecmp */
|
#endif /* #ifndef strncasecmp */
|
||||||
#endif
|
#endif /* _WIN32 */
|
||||||
#if defined(__amigaos__) || defined(__amigaos4__)
|
#if defined(__amigaos__) || defined(__amigaos4__)
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif /* defined(__amigaos__) || defined(__amigaos4__) */
|
||||||
#if defined(__amigaos__)
|
#if defined(__amigaos__)
|
||||||
#define uint16_t unsigned short
|
#define uint16_t unsigned short
|
||||||
#endif
|
#endif /* defined(__amigaos__) */
|
||||||
/* Hack */
|
/* Hack */
|
||||||
#define UNIX_PATH_LEN 108
|
#define UNIX_PATH_LEN 108
|
||||||
struct sockaddr_un {
|
struct sockaddr_un {
|
||||||
uint16_t sun_family;
|
uint16_t sun_family;
|
||||||
char sun_path[UNIX_PATH_LEN];
|
char sun_path[UNIX_PATH_LEN];
|
||||||
};
|
};
|
||||||
#else
|
#else /* defined(_WIN32) || defined(__amigaos__) || defined(__amigaos4__) */
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#include <sys/param.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
Loading…
Reference in New Issue