diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2014-10-21 11:00:16 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2014-10-21 11:00:16 +0100 |
commit | 65257b8e9b55d8d180265d714ba9b3637643c6dc (patch) | |
tree | 01a61aff7804d7bc6dddc9ce7d6ad4adcfff2d54 /compat.h | |
parent | b6aef2490f086f3404f439308bb1746ec5134e9a (diff) |
OS X lacks HOST_NAME_MAX, reported by Christian Ebert.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -176,6 +176,10 @@ typedef uint64_t u_int64_t; #define TTY_NAME_MAX 32 #endif +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + #ifndef HAVE_FLOCK #define LOCK_SH 0 #define LOCK_EX 0 |