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:01 -0500
commit25d9d00edf2810647b81ba451f3c82b2ada63f5a (patch)
tree22d2d4e9e64a9fb80a852090cf3045cfb9c83426
parent9b327d2423ff0bb2da7db4c943100e63650fe44b (diff)
downloadsssd_unused-25d9d00edf2810647b81ba451f3c82b2ada63f5a.tar.gz
sssd_unused-25d9d00edf2810647b81ba451f3c82b2ada63f5a.tar.xz
sssd_unused-25d9d00edf2810647b81ba451f3c82b2ada63f5a.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 1e30bf3e..eea15169 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 dbdbbeee..921f002f 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"