From 53b029bdd92d66016fe45fb03f74133ff35c777f Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Apr 1991 13:40:12 +0000 Subject: [PATCH] parameterize use of htons/ntohs remove use of abort() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2002 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/stdio/scc_gennew.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/ccache/stdio/scc_gennew.c b/src/lib/krb5/ccache/stdio/scc_gennew.c index cbe41f5a9..950bb9a89 100644 --- a/src/lib/krb5/ccache/stdio/scc_gennew.c +++ b/src/lib/krb5/ccache/stdio/scc_gennew.c @@ -18,7 +18,13 @@ static char rcsid_scc_resolve_c[] = #include "scc.h" -#include /* XXX ip only? */ +#include + +#ifdef KRB5_USE_INET +#include +#else + #error find some way to use net-byte-order file version numbers. +#endif extern krb5_cc_ops krb5_scc_ops; -- 2.26.2