projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fedb540
)
Fix implicit declaration in ksu for some builds
author
Greg Hudson
<ghudson@mit.edu>
Wed, 28 Dec 2011 01:31:59 +0000
(
01:31
+0000)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/src/clients/ksu/setenv.c
b/src/clients/ksu/setenv.c
index 587005ca608aacbe7faf6ed94a9376847d47eabb..33ac1e3030f52f31977862835c196a645a70a4fa 100644
(file)
--- a/
src/clients/ksu/setenv.c
+++ b/
src/clients/ksu/setenv.c
@@
-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 *);