mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
compat: define HOST_NAME_MAX for OSX
Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
c80eb1b5c0
commit
200406fad5
@ -7,6 +7,7 @@
|
||||
#include "common/config.h"
|
||||
#include "include/str_list.h"
|
||||
#include "common/debug.h"
|
||||
#include "include/compat.h"
|
||||
|
||||
#include <common/SubProcess.h>
|
||||
|
||||
|
@ -69,6 +69,7 @@
|
||||
/* PATH_MAX */
|
||||
#include <limits.h>
|
||||
#define EREMOTEIO 121
|
||||
#define HOST_NAME_MAX 255
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
/* O_LARGEFILE is not defined/required on OSX/FreeBSD */
|
||||
|
Loading…
Reference in New Issue
Block a user