define krb5_socklen_t type; this should really go someplace else, but
this was easy git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11127 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -218,6 +218,15 @@ int main(int argc, char **argv)
|
||||
fprintf(f, "\n");
|
||||
fprintf(f, "#endif /* __BIT_TYPES_DEFINED__ */\n\n");
|
||||
}
|
||||
#ifdef KRB5
|
||||
fprintf(f, "\n");
|
||||
#if defined(HAVE_SOCKLEN_T)
|
||||
fprintf(f, "typedef socklen_t krb5_socklen_t;\n");
|
||||
#else
|
||||
fprintf(f, "typedef int krb5_socklen_t;\n");
|
||||
#endif
|
||||
fprintf(f, "\n");
|
||||
#endif /* KRB5 */
|
||||
fprintf(f, "#endif /* %s */\n", hb);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user