parameterize using htons/etc
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Apr 1991 13:34:27 +0000 (13:34 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Apr 1991 13:34:27 +0000 (13:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1999 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_gennew.c

index 6995605e123a19a066e66994be626bb22714b992..85e0239fc52841ec5748678853c9e844d4d38068 100644 (file)
@@ -18,7 +18,13 @@ static char rcsid_fcc_resolve_c[] =
 
 #include "fcc.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_fcc_ops;