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 | |
| parent | b6aef2490f086f3404f439308bb1746ec5134e9a (diff) | |
| download | rtmux-65257b8e9b55d8d180265d714ba9b3637643c6dc.tar.gz rtmux-65257b8e9b55d8d180265d714ba9b3637643c6dc.tar.bz2 rtmux-65257b8e9b55d8d180265d714ba9b3637643c6dc.zip | |
OS X lacks HOST_NAME_MAX, reported by Christian Ebert.
| -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 |