From e10e160f0f5038d057ae21c3f1cd07c00681912e Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 5 Feb 2009 02:59:08 +0000 Subject: [PATCH] include omitted system header string.h Sun cc warns about some of the string functions being undeclared in several source files. So, include string.h there. ticket: 6365 target_version: 1.7 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21889 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/kadm_rpc_svc.c | 1 + src/lib/kadm5/chpass_util.c | 1 + src/plugins/kdb/db2/pol_xdr.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/kadmin/server/kadm_rpc_svc.c b/src/kadmin/server/kadm_rpc_svc.c index 280cf4444..68d8af497 100644 --- a/src/kadmin/server/kadm_rpc_svc.c +++ b/src/kadmin/server/kadm_rpc_svc.c @@ -7,6 +7,7 @@ #include #include /* for gss_nt_krb5_name */ #include +#include #include "autoconf.h" #ifdef HAVE_MEMORY_H #include diff --git a/src/lib/kadm5/chpass_util.c b/src/lib/kadm5/chpass_util.c index 8f6f8c5d7..e1fbb5849 100644 --- a/src/lib/kadm5/chpass_util.c +++ b/src/lib/kadm5/chpass_util.c @@ -9,6 +9,7 @@ #include #endif #include +#include #include #include "admin_internal.h" diff --git a/src/plugins/kdb/db2/pol_xdr.c b/src/plugins/kdb/db2/pol_xdr.c index 43eac32df..82e29b804 100644 --- a/src/plugins/kdb/db2/pol_xdr.c +++ b/src/plugins/kdb/db2/pol_xdr.c @@ -6,6 +6,7 @@ #ifdef HAVE_MEMORY_H #include #endif +#include static bool_t xdr_nullstring(XDR *xdrs, char **objp) -- 2.26.2