]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
include omitted system header string.h
authorKen Raeburn <raeburn@mit.edu>
Thu, 5 Feb 2009 02:59:08 +0000 (02:59 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 5 Feb 2009 02:59:08 +0000 (02:59 +0000)
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
src/lib/kadm5/chpass_util.c
src/plugins/kdb/db2/pol_xdr.c

index 280cf4444c5a9acd6db4dcc2a80b71960f21b7ff..68d8af497a65b3e42b59083669ec9e8c1880abe7 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)