parameterize on USE_INET
authorJohn Kohl <jtkohl@mit.edu>
Mon, 25 Feb 1991 15:15:33 +0000 (15:15 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 25 Feb 1991 15:15:33 +0000 (15:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1774 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/full_ipadr.c

index 06d3ad264b63442c32ebc93080b5686d8b431710..6803e7b8cc1dea630371d6745b3a833b353e72e9 100644 (file)
@@ -17,8 +17,13 @@ static char rcsid_full_ipadr_c[] =
 #endif /* !lint & !SABER */
 
 #include <krb5/krb5.h>
+#include <krb5/osconf.h>
+
+#ifdef KRB5_USE_INET
+
 #include <krb5/ext-proto.h>
 #include <krb5/libos-proto.h>
+#include "os-proto.h"
 #include <netinet/in.h>
 
 krb5_error_code
@@ -74,3 +79,4 @@ OLDDECLARG(krb5_address **,outaddr)
     *outaddr = retaddr;
     return 0;
 }
+#endif