From e45d2536ca1110928e7f3fbf7b3b4d6d24080a0b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 5 Jul 2002 20:49:46 +0000 Subject: [PATCH] * dispatch.c, do_as_req.c, do_tgs_req.c: Define NEED_SOCKETS before including k5-int.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14603 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 2 ++ src/kdc/dispatch.c | 1 + src/kdc/do_as_req.c | 1 + src/kdc/do_tgs_req.c | 1 + 4 files changed, 5 insertions(+) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 9e420e070..51457389a 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -13,6 +13,8 @@ copy. (process_packet): SADDR is now sockaddr_storage. Use socket-utils macros instead of casting. Enable the IPv6 code. + * dispatch.c, do_as_req.c, do_tgs_req.c: Define NEED_SOCKETS + before including k5-int.h. 2002-07-02 Ken Raeburn diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c index 896229010..11d267e2b 100644 --- a/src/kdc/dispatch.c +++ b/src/kdc/dispatch.c @@ -26,6 +26,7 @@ * Dispatch an incoming packet. */ +#define NEED_SOCKETS #include "k5-int.h" #include #include "kdc_util.h" diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index d5eed2c73..07bcf1745 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -27,6 +27,7 @@ * KDC Routines to deal with AS_REQ's */ +#define NEED_SOCKETS #include "k5-int.h" #include "com_err.h" diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 5b1d20b4d..2cf8d82ea 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -27,6 +27,7 @@ * KDC Routines to deal with TGS_REQ's */ +#define NEED_SOCKETS #include "k5-int.h" #include "com_err.h" -- 2.26.2