aboutsummaryrefslogtreecommitdiff
path: root/src/kdc/do_as_req.c
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1997-09-26 02:41:57 +0000
committerTom Yu <tlyu@mit.edu>1997-09-26 02:41:57 +0000
commitc5ce7f14592f60ba76fc8abef70a69e8634e5c30 (patch)
treeb6b32cd2e072f2034da8e0140c2de45181d7f7a5 /src/kdc/do_as_req.c
parentce33c8103370305cc7c67b49928338f9b5106fd6 (diff)
downloadkrb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.zip
krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.tar.gz
krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.tar.bz2
Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replace
with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/do_as_req.c')
-rw-r--r--src/kdc/do_as_req.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c
index 5d87865..e571680 100644
--- a/src/kdc/do_as_req.c
+++ b/src/kdc/do_as_req.c
@@ -28,13 +28,13 @@
#include "com_err.h"
#include <syslog.h>
-#ifdef KRB5_USE_INET
+#ifdef HAVE_NETINET_IN_H
#include <sys/types.h>
#include <netinet/in.h>
#ifndef hpux
#include <arpa/inet.h>
#endif /* hpux */
-#endif /* KRB5_USE_INET */
+#endif /* HAVE_NETINET_IN_H */
#include "kdc_util.h"
#include "policy.h"
@@ -83,7 +83,7 @@ krb5_data **response; /* filled in with a response packet */
e_data.data = 0;
encrypting_key.contents = 0;
-#ifdef KRB5_USE_INET
+#ifdef HAVE_NETINET_IN_H
if (from->address->addrtype == ADDRTYPE_INET)
fromstring = (char *) inet_ntoa(*(struct in_addr *)from->address->contents);
#endif