parameterize use of htons/ntohs
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Apr 1991 13:40:12 +0000 (13:40 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Apr 1991 13:40:12 +0000 (13:40 +0000)
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

index cbe41f5a920347bf758a870f5a0281a89ad110f2..950bb9a8986cd647f562bf54610ae6843439e096 100644 (file)
@@ -18,7 +18,13 @@ static char rcsid_scc_resolve_c[] =
 
 #include "scc.h"
 
-#include <netinet/in.h>                        /* XXX ip only? */
+#include <krb5/osconf.h>
+
+#ifdef KRB5_USE_INET
+#include <netinet/in.h>
+#else
+ #error find some way to use net-byte-order file version numbers.
+#endif
 
 extern krb5_cc_ops krb5_scc_ops;