Fix implicit declaration in ksu for some builds
authorGreg Hudson <ghudson@mit.edu>
Wed, 28 Dec 2011 01:31:59 +0000 (01:31 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 28 Dec 2011 01:31:59 +0000 (01:31 +0000)
ksu's setenv implementation needs to include <string.h> for memcpy.
Patch from basch@alum.mit.edu.

ticket: 7057

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25605 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/setenv.c

index 587005ca608aacbe7faf6ed94a9376847d47eabb..33ac1e3030f52f31977862835c196a645a70a4fa 100644 (file)
@@ -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 *);