svn rev #25605: trunk/src/clients/ksu/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Dec 27 20:31:59 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25605
Commit By: ghudson
Log Message:
ticket: 7057

Fix implicit declaration in ksu for some builds

ksu's setenv implementation needs to include <string.h> for memcpy.
Patch from basch at alum.mit.edu.


Changed Files:
U   trunk/src/clients/ksu/setenv.c
Modified: trunk/src/clients/ksu/setenv.c
===================================================================
--- trunk/src/clients/ksu/setenv.c	2011-12-27 06:39:07 UTC (rev 25604)
+++ trunk/src/clients/ksu/setenv.c	2011-12-28 01:31:59 UTC (rev 25605)
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "autoconf.h"
 
 static char *_findenv(char *, int *);



More information about the cvs-krb5 mailing list