Use POSIX instead of glibc-specific header. Fixes compilation with musl libc. --- Hi Vicky,
yes, you are right. What Mac does is allowed by the POSIX standard. The actual limit can be obtained via sysconf(_SC_HOST_NAME_MAX). --- Felix diff --git a/src/tspi/tsp_tcsi_param.c b/src/tspi/tsp_tcsi_param.c index 157e0ec..a5fa12e 100644 --- a/src/tspi/tsp_tcsi_param.c +++ b/src/tspi/tsp_tcsi_param.c @@ -14,7 +14,7 @@ #ifndef __APPLE__ -#include <bits/local_lim.h> +#include <limits.h> #else #define HOST_NAME_MAX 64 #endif -- 2.7.3 ------------------------------------------------------------------------------ _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
