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:
Johan Danielsson
2002-08-19 13:51:19 +00:00
parent 4f77dbe6b1
commit 14eefe52c1

View File

@@ -218,6 +218,15 @@ int main(int argc, char **argv)
fprintf(f, "\n"); fprintf(f, "\n");
fprintf(f, "#endif /* __BIT_TYPES_DEFINED__ */\n\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); fprintf(f, "#endif /* %s */\n", hb);
return 0; return 0;
} }