summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-02-07 08:04:28 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-07 08:17:04 -0500
commit9715ac17d4abc5cd73d5d672ac0ab32320a17e83 (patch)
treed64f41ff867e54e1e352f326c7b207cabc16cc17
parent056302a92862fda16351d7192600746746f38e5d (diff)
downloadsssd-9715ac17d4abc5cd73d5d672ac0ab32320a17e83.tar.gz
sssd-9715ac17d4abc5cd73d5d672ac0ab32320a17e83.tar.xz
sssd-9715ac17d4abc5cd73d5d672ac0ab32320a17e83.zip
Fix SSH compilation on RHEL5
-rw-r--r--src/responder/ssh/sshsrv_cmd.c3
-rw-r--r--src/sss_client/ssh/sss_ssh.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/responder/ssh/sshsrv_cmd.c b/src/responder/ssh/sshsrv_cmd.c
index 1e30bf3ec..eea151691 100644
--- a/src/responder/ssh/sshsrv_cmd.c
+++ b/src/responder/ssh/sshsrv_cmd.c
@@ -18,7 +18,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
#include <talloc.h>
+#include <string.h>
#include "util/util.h"
#include "util/crypto/sss_crypto.h"
diff --git a/src/sss_client/ssh/sss_ssh.c b/src/sss_client/ssh/sss_ssh.c
index dbdbbeee8..921f002f3 100644
--- a/src/sss_client/ssh/sss_ssh.c
+++ b/src/sss_client/ssh/sss_ssh.c
@@ -18,6 +18,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
@@ -27,8 +29,8 @@
#include <popt.h>
#include <locale.h>
#include <libintl.h>
+#include <string.h>
-#include "config.h"
#include "util/crypto/sss_crypto.h"
#include "sss_client/sss_cli.h"
#include "sss_client/ssh/sss_ssh.h"