Hi Felix, Sorry, I just saw that I didn't send the message out before. Please check my comment below.
---------- Forwarded message ---------- From: Hon Ching(Vicky) Lo <[email protected]> Date: Tue, Aug 23, 2016 at 7:16 PM Subject: Re: Fwd: [TrouSerS-tech] [PATCH 1/4] tsp_tcsi_param.c: Include <limits.h> for POSIX_MAX To: Hon Ching Lo <[email protected]> On Tue, 2016-08-23 at 16:48 -0400, Hon Ching Lo wrote: > > ---------- Forwarded message ---------- > From: Felix Janda <[email protected]> > Date: Tue, Jul 26, 2016 at 2:59 PM > Subject: [TrouSerS-tech] [PATCH 1/4] tsp_tcsi_param.c: Include > <limits.h> for POSIX_MAX > To: [email protected] > > > 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> > I'm afraid you're breaking the compilation for Apple's platform if you took out the ifndef. > #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 > > > Vicky
------------------------------------------------------------------------------
_______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
