mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
parent
666c92fa76
commit
8c4765c607
@ -49,6 +49,12 @@ typedef int SOCKET;
|
|||||||
#define closesocket close
|
#define closesocket close
|
||||||
#define ioctlsocket ioctl
|
#define ioctlsocket ioctl
|
||||||
|
|
||||||
|
#ifndef SUN_LEN
|
||||||
|
/* TODO: Ideally this should take into the account how
|
||||||
|
long the socket path really is. */
|
||||||
|
# define SUN_LEN(sun) (sizeof(sockaddr_un))
|
||||||
|
#endif /* SUN_LEN */
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
# define PATH_MAX 1024
|
# define PATH_MAX 1024
|
||||||
#endif /* PATH_MAX */
|
#endif /* PATH_MAX */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user