[SSSD] [PATCH] Include string.h in sss_cli.h
Sumit Bose
sbose at redhat.com
Mon May 23 14:40:20 UTC 2011
Hi,
by chance so far string.h was always included before sss_cli.h. But to be
on the safe side we should include string.h in sss_cli.h because
safealign_memcpy() is define here which calls memcpy().
bye,
Sumit
-------------- next part --------------
From aa420d04631c5dcb18bed05394490ef6b133eed3 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Mon, 23 May 2011 16:23:59 +0200
Subject: [PATCH] Include string.h in sss_cli.h
Since memcpy() is used in sss_cli.h it should be declared here, too.
---
src/sss_client/sss_cli.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/sss_client/sss_cli.h b/src/sss_client/sss_cli.h
index 1caa2fc..ebdcc26 100644
--- a/src/sss_client/sss_cli.h
+++ b/src/sss_client/sss_cli.h
@@ -28,6 +28,7 @@
#include <nss.h>
#include <pwd.h>
#include <grp.h>
+#include <string.h>
#ifndef HAVE_ERRNO_T
#define HAVE_ERRNO_T
--
1.7.5.1
More information about the sssd-devel
mailing list