Use POSIX instead of glibc-specific header.
Fixes compilation with musl libc.
---
 src/tspi/tsp_tcsi_param.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

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
@@ -13,11 +13,7 @@
 #include <stdio.h>
 
 
-#ifndef __APPLE__
-#include <bits/local_lim.h>
-#else
-#define HOST_NAME_MAX 64
-#endif
+#include <limits.h>
 
 #include "trousers/tss.h"
 #include "trousers/trousers.h"
-- 
2.7.3


------------------------------------------------------------------------------
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to