pull up r21889 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 18 Feb 2009 18:18:28 +0000 (18:18 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 18 Feb 2009 18:18:28 +0000 (18:18 +0000)
 ------------------------------------------------------------------------
 r21889 | raeburn | 2009-02-04 21:59:08 -0500 (Wed, 04 Feb 2009) | 7 lines
 Changed paths:
    M /trunk/src/kadmin/server/kadm_rpc_svc.c
    M /trunk/src/lib/kadm5/chpass_util.c
    M /trunk/src/plugins/kdb/db2/pol_xdr.c

 ticket: 6365
 subject: include omitted system header string.h
 target_version: 1.7
 tags: pullup

 Sun cc warns about some of the string functions being undeclared in
 several source files.  So, include string.h there.
 ------------------------------------------------------------------------

ticket: 6365
version_fixed: 1.7
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22019 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/server/kadm_rpc_svc.c
src/lib/kadm5/chpass_util.c
src/plugins/kdb/db2/pol_xdr.c

index cba42a48cdc3aac6890e54ac3a4f4587f31be0af..4d4df89b8072dd31da10acbfd9ea3072e6e1002c 100644 (file)
@@ -7,6 +7,7 @@
 #include <gssrpc/rpc.h>
 #include <gssapi/gssapi_krb5.h> /* for gss_nt_krb5_name */
 #include <syslog.h>
+#include <string.h>
 #include "autoconf.h"
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
index 8f6f8c5d703a601d40d9e26f3e443c818ea58cd3..e1fbb5849652426e4f3f8250e673f34034d9107c 100644 (file)
@@ -9,6 +9,7 @@
 #include <memory.h>
 #endif
 #include <time.h>
+#include <string.h>
 
 #include <kadm5/admin.h>
 #include "admin_internal.h"
index 43eac32df4a021354abf466ec5312e1c5887cc0e..82e29b804634c0d99322770f38e54129a59119a7 100644 (file)
@@ -6,6 +6,7 @@
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
 #endif
+#include <string.h>
 
 static 
 bool_t xdr_nullstring(XDR *xdrs, char **objp)