Skip to content

Commit

Permalink
Fix implicit declaration in ksu for some builds
Browse files Browse the repository at this point in the history
Pull up r25605 from trunk

 ------------------------------------------------------------------------
 r25605 | ghudson | 2011-12-27 20:31:59 -0500 (Tue, 27 Dec 2011) | 7 lines

 ticket: 7057

 Fix implicit declaration in ksu for some builds

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

ticket: 7068
version_fixed: 1.9.3
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@25640 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tlyu committed Jan 10, 2012
1 parent cf24952 commit 2d533e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/clients/ksu/setenv.c
Expand Up @@ -21,6 +21,7 @@
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "autoconf.h"

static char *_findenv(char *, int *);
Expand Down

0 comments on commit 2d533e0

Please sign in to comment.