From 63b30021f66ac282c3814e2da6bf685a36159299 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 13 Apr 2005 16:55:43 +0000 Subject: [PATCH] Delete definitions of unused macros NEED_SOCKETS and NEED_LOWLEVEL_IO git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17177 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 4 ++++ src/appl/bsd/compat_recv.c | 1 - src/include/ChangeLog | 5 +++++ src/include/k5-int.h | 6 ------ src/kadmin/server/ChangeLog | 4 ++++ src/kadmin/server/schpw.c | 1 - src/kdc/ChangeLog | 7 +++++++ src/kdc/dispatch.c | 1 - src/kdc/do_as_req.c | 1 - src/kdc/do_tgs_req.c | 1 - src/kdc/network.c | 1 - src/lib/ChangeLog | 4 ++++ src/lib/krb5/ccache/ChangeLog | 4 ++++ src/lib/krb5/ccache/cc_file.c | 2 -- src/lib/krb5/keytab/ChangeLog | 5 +++++ src/lib/krb5/keytab/kt_file.c | 1 - src/lib/krb5/keytab/kt_srvtab.c | 1 - src/lib/krb5/krb/ChangeLog | 6 ++++++ src/lib/krb5/krb/fwd_tgt.c | 1 - src/lib/krb5/krb/recvauth.c | 1 - src/lib/krb5/krb/sendauth.c | 1 - src/lib/krb5/os/ChangeLog | 24 ++++++++++++++++++++++++ src/lib/krb5/os/accessor.c | 1 - src/lib/krb5/os/c_ustime.c | 1 - src/lib/krb5/os/changepw.c | 1 - src/lib/krb5/os/dnsglue.h | 1 - src/lib/krb5/os/full_ipadr.c | 1 - src/lib/krb5/os/gen_rname.c | 1 - src/lib/krb5/os/genaddrs.c | 1 - src/lib/krb5/os/hostaddr.c | 1 - src/lib/krb5/os/hst_realm.c | 1 - src/lib/krb5/os/krbfileio.c | 1 - src/lib/krb5/os/localaddr.c | 1 - src/lib/krb5/os/locate_kdc.c | 1 - src/lib/krb5/os/mk_faddr.c | 1 - src/lib/krb5/os/net_read.c | 2 -- src/lib/krb5/os/net_write.c | 2 -- src/lib/krb5/os/port2ip.c | 1 - src/lib/krb5/os/read_msg.c | 1 - src/lib/krb5/os/send524.c | 2 -- src/lib/krb5/os/sendto_kdc.c | 2 -- src/lib/krb5/os/sn2princ.c | 1 - src/lib/krb5/os/write_msg.c | 1 - src/lib/krb5/rcache/ChangeLog | 4 ++++ src/lib/krb5/rcache/rc_io.c | 2 -- src/lib/win_glue.c | 1 - src/mac/MacOSX/Headers/Kerberos5Prefix.h | 1 - 47 files changed, 67 insertions(+), 48 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index c5e5bc879..4d3297153 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +2005-04-13 Ken Raeburn + + * compat_recv.c (NEED_SOCKETS): Don't define. + 2005-04-05 Ken Raeburn * krlogind.c (doit): Change 0 to (char*)NULL in execl* calls. diff --git a/src/appl/bsd/compat_recv.c b/src/appl/bsd/compat_recv.c index 008114626..c76c4142c 100644 --- a/src/appl/bsd/compat_recv.c +++ b/src/appl/bsd/compat_recv.c @@ -36,7 +36,6 @@ * to a V4 sendauth. */ -#define NEED_SOCKETS #include "k5-int.h" #if !defined(_MACINTOSH) #ifdef KRB5_KRB4_COMPAT diff --git a/src/include/ChangeLog b/src/include/ChangeLog index a5450b803..89fee2c50 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2005-04-13 Ken Raeburn + + * k5-int.h: Remove disabled code that used to be part of the + non-NEED_SOCKETS case. + 2005-03-25 Ken Raeburn * configure.in: Don't check for getpwnam_r and getpwuid_r with diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 6b9ca41f1..d32a44546 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -159,14 +159,8 @@ typedef INT64_TYPE krb5_int64; #include "krb5.h" #include "profile.h" -#if 1 /* def NEED_SOCKETS */ #include "port-sockets.h" #include "socket-utils.h" -#else -#ifndef SOCK_DGRAM -struct sockaddr; -#endif -#endif /* Get mutex support; currently used only for the replay cache. */ #include "k5-thread.h" diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 8b5db1f8a..24694c31c 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,7 @@ +2005-04-13 Ken Raeburn + + * schpw.c (NEED_SOCKETS): Don't define. + 2004-10-28 Tom Yu * misc.c (check_min_life): Actually return a value on success. diff --git a/src/kadmin/server/schpw.c b/src/kadmin/server/schpw.c index 372b7127c..90ccba05f 100644 --- a/src/kadmin/server/schpw.c +++ b/src/kadmin/server/schpw.c @@ -1,4 +1,3 @@ -#define NEED_SOCKETS #include "k5-int.h" #include #include diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 69f392c51..68c74ceea 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,10 @@ +2005-04-13 Ken Raeburn + + * dispatch.c (NEED_SOCKETS): Don't define. + * do_as_req.c (NEED_SOCKETS): Don't define. + * do_tgs_req.c (NEED_SOCKETS): Don't define. + * network.c (NEED_SOCKETS): Don't define. + 2004-09-23 Ken Raeburn * network.c (closedown_network): Free each connection data diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c index d97acfaee..0432661d7 100644 --- a/src/kdc/dispatch.c +++ b/src/kdc/dispatch.c @@ -26,7 +26,6 @@ * 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 7f3efd849..f292a17f8 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -27,7 +27,6 @@ * 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 085e2855c..7aecb227e 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -27,7 +27,6 @@ * KDC Routines to deal with TGS_REQ's */ -#define NEED_SOCKETS #include "k5-int.h" #include "com_err.h" diff --git a/src/kdc/network.c b/src/kdc/network.c index d05057aca..84a90b16f 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -26,7 +26,6 @@ * Network code for Kerberos v5 KDC. */ -#define NEED_SOCKETS #include "k5-int.h" #include "com_err.h" #include "kdc_util.h" diff --git a/src/lib/ChangeLog b/src/lib/ChangeLog index a31df2652..06d067515 100644 --- a/src/lib/ChangeLog +++ b/src/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-04-13 Ken Raeburn + + * win_glue.c (NEED_SOCKETS): Don't define. + 2005-02-16 Jeffrey Altman * gssapi32.def: export the missing DATA symbols diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 63f8b3a96..963a8ec01 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,7 @@ +2005-04-13 Ken Raeburn + + * cc_file.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define. + 2005-01-13 Ken Raeburn * cc_file.c (struct _krb5_fcc_data): Fields disk_file_lock, diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c index 049cc1c68..55a67ea31 100644 --- a/src/lib/krb5/ccache/cc_file.c +++ b/src/lib/krb5/ccache/cc_file.c @@ -77,8 +77,6 @@ etc. */ #include "k5-int.h" -#define NEED_SOCKETS /* Only for ntohs, etc. */ -#define NEED_LOWLEVEL_IO #include #include diff --git a/src/lib/krb5/keytab/ChangeLog b/src/lib/krb5/keytab/ChangeLog index 7907333e0..943aad139 100644 --- a/src/lib/krb5/keytab/ChangeLog +++ b/src/lib/krb5/keytab/ChangeLog @@ -1,3 +1,8 @@ +2005-04-13 Ken Raeburn + + * kt_file.c (NEED_SOCKETS): Don't define. + * kt_srvtab.c (NEED_SOCKETS): Don't define. + 2004-11-26 Ken Raeburn * kt_file.c (krb5_ktfile_wresolve): Initialize mutex here too. diff --git a/src/lib/krb5/keytab/kt_file.c b/src/lib/krb5/keytab/kt_file.c index 6fb9f7b36..c53c2b644 100644 --- a/src/lib/krb5/keytab/kt_file.c +++ b/src/lib/krb5/keytab/kt_file.c @@ -25,7 +25,6 @@ * */ -#define NEED_SOCKETS #include "k5-int.h" #include diff --git a/src/lib/krb5/keytab/kt_srvtab.c b/src/lib/krb5/keytab/kt_srvtab.c index b516614e6..cb9d9c1bc 100644 --- a/src/lib/krb5/keytab/kt_srvtab.c +++ b/src/lib/krb5/keytab/kt_srvtab.c @@ -24,7 +24,6 @@ * or implied warranty. */ -#define NEED_SOCKETS #include "k5-int.h" #include diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 742a5345e..4bb3baae7 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +2005-04-13 Ken Raeburn + + * fwd_tgt.c (NEED_SOCKETS): Don't define. + * recvauth.c (NEED_SOCKETS): Don't define. + * sendauth.c (NEED_SOCKETS): Don't define. + 2005-03-22 Tom Yu * x-deltat.y (wsnum): Add missing semicolon following YYERROR, diff --git a/src/lib/krb5/krb/fwd_tgt.c b/src/lib/krb5/krb/fwd_tgt.c index 4e2c8f04b..2db2c9e00 100644 --- a/src/lib/krb5/krb/fwd_tgt.c +++ b/src/lib/krb5/krb/fwd_tgt.c @@ -24,7 +24,6 @@ * or implied warranty. */ -#define NEED_SOCKETS #include "k5-int.h" #ifdef HAVE_MEMORY_H #include diff --git a/src/lib/krb5/krb/recvauth.c b/src/lib/krb5/krb/recvauth.c index 3b001c178..e69be67f0 100644 --- a/src/lib/krb5/krb/recvauth.c +++ b/src/lib/krb5/krb/recvauth.c @@ -27,7 +27,6 @@ * convenience sendauth/recvauth functions */ -#define NEED_SOCKETS #include "k5-int.h" #include "auth_con.h" #include "com_err.h" diff --git a/src/lib/krb5/krb/sendauth.c b/src/lib/krb5/krb/sendauth.c index 51f82e1bd..5b5634307 100644 --- a/src/lib/krb5/krb/sendauth.c +++ b/src/lib/krb5/krb/sendauth.c @@ -27,7 +27,6 @@ * convenience sendauth/recvauth functions */ -#define NEED_SOCKETS #include "k5-int.h" #include "com_err.h" diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 6a60ce460..294be82db 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,27 @@ +2005-04-13 Ken Raeburn + + * accessor.c (NEED_SOCKETS): Don't define. + * c_ustime.c (NEED_SOCKETS): Don't define. + * changepw.c (NEED_SOCKETS): Don't define. + * dnsglue.h (NEED_SOCKETS): Don't define. + * full_ipadr.c (NEED_SOCKETS): Don't define. + * gen_rname.c (NEED_SOCKETS): Don't define. + * genaddrs.c (NEED_SOCKETS): Don't define. + * hostaddr.c (NEED_SOCKETS): Don't define. + * hst_realm.c (NEED_SOCKETS): Don't define. + * krbfileio.c (NEED_LOWLEVEL_IO): Don't define. + * localaddr.c (NEED_SOCKETS): Don't define. + * locate_kdc.c (NEED_SOCKETS): Don't define. + * mk_faddr.c (NEED_SOCKETS): Don't define. + * net_read.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define. + * net_write.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define. + * port2ip.c (NEED_SOCKETS): Don't define. + * read_msg.c (NEED_SOCKETS): Don't define. + * send524.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define. + * sendto_kdc.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define. + * sn2princ.c (NEED_SOCKETS): Don't define. + * write_msg.c (NEED_SOCKETS): Don't define. + 2005-03-25 Ken Raeburn * kuserok.c (krb5_kuserok): Use k5_getpwnam_r. diff --git a/src/lib/krb5/os/accessor.c b/src/lib/krb5/os/accessor.c index 078e036fe..f16a6e3e6 100644 --- a/src/lib/krb5/os/accessor.c +++ b/src/lib/krb5/os/accessor.c @@ -25,7 +25,6 @@ * */ -#define NEED_SOCKETS #include "k5-int.h" #include "os-proto.h" diff --git a/src/lib/krb5/os/c_ustime.c b/src/lib/krb5/os/c_ustime.c index 81998daab..c752a4ade 100644 --- a/src/lib/krb5/os/c_ustime.c +++ b/src/lib/krb5/os/c_ustime.c @@ -27,7 +27,6 @@ * krb5_mstimeofday for BSD 4.3 */ -#define NEED_SOCKETS #include "k5-int.h" #include "k5-thread.h" diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index df558b6f2..1d4e1d3ad 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -29,7 +29,6 @@ * Added by Paul W. Nelson, Thursby Software Systems, Inc. */ -#define NEED_SOCKETS #include "fake-addrinfo.h" #include "k5-int.h" #include "os-proto.h" diff --git a/src/lib/krb5/os/dnsglue.h b/src/lib/krb5/os/dnsglue.h index 9fa293c83..4164b9a46 100644 --- a/src/lib/krb5/os/dnsglue.h +++ b/src/lib/krb5/os/dnsglue.h @@ -45,7 +45,6 @@ #ifdef KRB5_DNS_LOOKUP -#define NEED_SOCKETS #include "k5-int.h" #include "os-proto.h" #ifdef WSHELPER diff --git a/src/lib/krb5/os/full_ipadr.c b/src/lib/krb5/os/full_ipadr.c index b3da60866..c72daa8c9 100644 --- a/src/lib/krb5/os/full_ipadr.c +++ b/src/lib/krb5/os/full_ipadr.c @@ -27,7 +27,6 @@ * Take an IP addr & port and generate a full IP address. */ -#define NEED_SOCKETS #include "k5-int.h" #ifdef HAVE_NETINET_IN_H diff --git a/src/lib/krb5/os/gen_rname.c b/src/lib/krb5/os/gen_rname.c index d5669cf37..7978a5dbc 100644 --- a/src/lib/krb5/os/gen_rname.c +++ b/src/lib/krb5/os/gen_rname.c @@ -28,7 +28,6 @@ * a replay cache tag string. */ -#define NEED_SOCKETS #include "k5-int.h" #include "os-proto.h" diff --git a/src/lib/krb5/os/genaddrs.c b/src/lib/krb5/os/genaddrs.c index aa1b91dbf..f3e86a504 100644 --- a/src/lib/krb5/os/genaddrs.c +++ b/src/lib/krb5/os/genaddrs.c @@ -27,7 +27,6 @@ * Take an IP addr & port and generate a full IP address. */ -#define NEED_SOCKETS #include "k5-int.h" #include "os-proto.h" diff --git a/src/lib/krb5/os/hostaddr.c b/src/lib/krb5/os/hostaddr.c index 8dcc05758..76eb1273d 100644 --- a/src/lib/krb5/os/hostaddr.c +++ b/src/lib/krb5/os/hostaddr.c @@ -27,7 +27,6 @@ * */ -#define NEED_SOCKETS #include "k5-int.h" #include "fake-addrinfo.h" diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c index 7e0335a42..b5c8f66ff 100644 --- a/src/lib/krb5/os/hst_realm.c +++ b/src/lib/krb5/os/hst_realm.c @@ -66,7 +66,6 @@ */ -#define NEED_SOCKETS #include "k5-int.h" #include "os-proto.h" #include diff --git a/src/lib/krb5/os/krbfileio.c b/src/lib/krb5/os/krbfileio.c index ff19a5355..6ef16ebd0 100644 --- a/src/lib/krb5/os/krbfileio.c +++ b/src/lib/krb5/os/krbfileio.c @@ -36,7 +36,6 @@ static char *VersionID = "@(#)krbfileio.c 2 - 08/22/91"; #endif -#define NEED_LOWLEVEL_IO /* Need open(), etc. */ #include "k5-int.h" #ifdef HAVE_SYS_FILE_H diff --git a/src/lib/krb5/os/localaddr.c b/src/lib/krb5/os/localaddr.c index 9af5a5ed2..75953b1f3 100644 --- a/src/lib/krb5/os/localaddr.c +++ b/src/lib/krb5/os/localaddr.c @@ -33,7 +33,6 @@ * XNS support is untested, but "Should just work". (Hah!) */ -#define NEED_SOCKETS #include "k5-int.h" #if !defined(_WIN32) diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index 1fafbcaa9..484c8e8e9 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -27,7 +27,6 @@ * get socket addresses for KDC. */ -#define NEED_SOCKETS #include "fake-addrinfo.h" #include "k5-int.h" #include "os-proto.h" diff --git a/src/lib/krb5/os/mk_faddr.c b/src/lib/krb5/os/mk_faddr.c index 5fe025131..2184f7220 100644 --- a/src/lib/krb5/os/mk_faddr.c +++ b/src/lib/krb5/os/mk_faddr.c @@ -27,7 +27,6 @@ * Take an IP addr & port and generate a full IP address. */ -#define NEED_SOCKETS #include "k5-int.h" #ifdef HAVE_NETINET_IN_H diff --git a/src/lib/krb5/os/net_read.c b/src/lib/krb5/os/net_read.c index 372609d86..1d07a95d9 100644 --- a/src/lib/krb5/os/net_read.c +++ b/src/lib/krb5/os/net_read.c @@ -25,8 +25,6 @@ * */ -#define NEED_LOWLEVEL_IO -#define NEED_SOCKETS #include "k5-int.h" /* diff --git a/src/lib/krb5/os/net_write.c b/src/lib/krb5/os/net_write.c index 9d932a453..e4981543a 100644 --- a/src/lib/krb5/os/net_write.c +++ b/src/lib/krb5/os/net_write.c @@ -25,8 +25,6 @@ * */ -#define NEED_LOWLEVEL_IO -#define NEED_SOCKETS #include "k5-int.h" /* diff --git a/src/lib/krb5/os/port2ip.c b/src/lib/krb5/os/port2ip.c index e5e8b68ae..6b5838b85 100644 --- a/src/lib/krb5/os/port2ip.c +++ b/src/lib/krb5/os/port2ip.c @@ -27,7 +27,6 @@ * Take an ADDRPORT address and split into IP addr & port. */ -#define NEED_SOCKETS #include "k5-int.h" #ifdef HAVE_NETINET_IN_H diff --git a/src/lib/krb5/os/read_msg.c b/src/lib/krb5/os/read_msg.c index 4eb5b2e2a..776502c6d 100644 --- a/src/lib/krb5/os/read_msg.c +++ b/src/lib/krb5/os/read_msg.c @@ -27,7 +27,6 @@ * Write a message to the network */ -#define NEED_SOCKETS #include "k5-int.h" #include diff --git a/src/lib/krb5/os/send524.c b/src/lib/krb5/os/send524.c index eeb586162..004d80348 100644 --- a/src/lib/krb5/os/send524.c +++ b/src/lib/krb5/os/send524.c @@ -26,8 +26,6 @@ */ /* Grab socket stuff. This might want to go away later. */ -#define NEED_SOCKETS -#define NEED_LOWLEVEL_IO #include "fake-addrinfo.h" /* for custom addrinfo if needed */ #include "k5-int.h" diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 599c28515..5b6ec4cfd 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -28,8 +28,6 @@ * as necessary. */ -#define NEED_SOCKETS -#define NEED_LOWLEVEL_IO #include "fake-addrinfo.h" #include "k5-int.h" diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c index dea1b3c3c..65678c829 100644 --- a/src/lib/krb5/os/sn2princ.c +++ b/src/lib/krb5/os/sn2princ.c @@ -28,7 +28,6 @@ * form. */ -#define NEED_SOCKETS #include "k5-int.h" #include "fake-addrinfo.h" #include diff --git a/src/lib/krb5/os/write_msg.c b/src/lib/krb5/os/write_msg.c index dc72fc760..d75a32796 100644 --- a/src/lib/krb5/os/write_msg.c +++ b/src/lib/krb5/os/write_msg.c @@ -27,7 +27,6 @@ * convenience sendauth/recvauth functions */ -#define NEED_SOCKETS #include "k5-int.h" #include diff --git a/src/lib/krb5/rcache/ChangeLog b/src/lib/krb5/rcache/ChangeLog index 597ce15e6..79b1d377f 100644 --- a/src/lib/krb5/rcache/ChangeLog +++ b/src/lib/krb5/rcache/ChangeLog @@ -1,3 +1,7 @@ +2005-04-13 Ken Raeburn + + * rc_io.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define. + 2005-01-15 Jeffrey Altman * rc_dfl.c: Move the extraction of the struct dfl_data diff --git a/src/lib/krb5/rcache/rc_io.c b/src/lib/krb5/rcache/rc_io.c index a45b64360..9897f731f 100644 --- a/src/lib/krb5/rcache/rc_io.c +++ b/src/lib/krb5/rcache/rc_io.c @@ -18,8 +18,6 @@ #endif #define KRB5_RC_VNO 0x0501 /* krb5, rcache v 1 */ -#define NEED_SOCKETS -#define NEED_LOWLEVEL_IO #include "krb5.h" #include /* for P_tmpdir */ diff --git a/src/lib/win_glue.c b/src/lib/win_glue.c index 05b2a8aa7..4d1800a92 100644 --- a/src/lib/win_glue.c +++ b/src/lib/win_glue.c @@ -19,7 +19,6 @@ #ifdef KRB4 #include #endif -#define NEED_SOCKETS #include "k5-int.h" #ifndef NEED_WINSOCK diff --git a/src/mac/MacOSX/Headers/Kerberos5Prefix.h b/src/mac/MacOSX/Headers/Kerberos5Prefix.h index acd5ebb4f..4320d4c10 100644 --- a/src/mac/MacOSX/Headers/Kerberos5Prefix.h +++ b/src/mac/MacOSX/Headers/Kerberos5Prefix.h @@ -155,7 +155,6 @@ #define LINEMODE 1 #define NEED_DAEMON_PROTO 1 #define NEED_PARSETOS_PROTO 1 -#define NEED_SOCKETS #define NO_UT_EXIT 1 #define NO_UT_PID 1 #define NO_UT_TYPE 1 -- 2.26.2