summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-01-27 11:52:51 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-30 19:56:25 -0500
commitc9b2b7f3f02bf40b698c70640f151d0113736195 (patch)
tree776fcf5f64c597ab8299d13b8971585e71690c8d
parente6092759dc4268b105b79478aa9b1398f21ed7a9 (diff)
downloadsssd-c9b2b7f3f02bf40b698c70640f151d0113736195.tar.gz
sssd-c9b2b7f3f02bf40b698c70640f151d0113736195.tar.xz
sssd-c9b2b7f3f02bf40b698c70640f151d0113736195.zip
Fix sudo compilation on RHEL5
-rw-r--r--src/responder/sudo/sudosrv_get_sudorules.c2
-rw-r--r--src/sss_client/sss_cli.h1
-rw-r--r--src/sss_client/sudo/sss_sudo_response.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c
index b7e17056f..8cb10e9aa 100644
--- a/src/responder/sudo/sudosrv_get_sudorules.c
+++ b/src/responder/sudo/sudosrv_get_sudorules.c
@@ -19,6 +19,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
#include <stdint.h>
#include <string.h>
#include <talloc.h>
diff --git a/src/sss_client/sss_cli.h b/src/sss_client/sss_cli.h
index 30a238ec7..dc137dc43 100644
--- a/src/sss_client/sss_cli.h
+++ b/src/sss_client/sss_cli.h
@@ -29,6 +29,7 @@
#include <pwd.h>
#include <grp.h>
#include <string.h>
+#include <stdint.h>
#include <limits.h>
#ifndef HAVE_ERRNO_T
diff --git a/src/sss_client/sudo/sss_sudo_response.c b/src/sss_client/sudo/sss_sudo_response.c
index 2b158b7de..f3e250cd8 100644
--- a/src/sss_client/sudo/sss_sudo_response.c
+++ b/src/sss_client/sudo/sss_sudo_response.c
@@ -18,6 +18,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <errno.h>
#include <string.h>