summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-28 08:31:18 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 22:13:42 +0200
commit3ae207c525a6a2e10ae714c17cc36a04dc55b7ca (patch)
tree62ec4c0a588cced6e87605886698b1a1b841a8e0
parent696605a4d7baa9aa8d5f30b0bb0e80e2afdc94ef (diff)
downloadsssd-3ae207c525a6a2e10ae714c17cc36a04dc55b7ca.tar.gz
sssd-3ae207c525a6a2e10ae714c17cc36a04dc55b7ca.tar.xz
sssd-3ae207c525a6a2e10ae714c17cc36a04dc55b7ca.zip
IPA_HBAC: Explicitelly include header file time.h
struct hbac_eval_req is defined in header file and it has attribute request_time with type time_t, but header file "time.h" was not included. It was not problem, because time.h was indirectly included by stdlib.h (stdlib.h -> sys/types.h -> time.h) in implementation files, but other platforms can have other dependencies among header files.
-rw-r--r--src/providers/ipa/ipa_hbac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_hbac.h b/src/providers/ipa/ipa_hbac.h
index 8bc2c4f90..f43611351 100644
--- a/src/providers/ipa/ipa_hbac.h
+++ b/src/providers/ipa/ipa_hbac.h
@@ -39,6 +39,7 @@
#include <stdint.h>
#include <stdbool.h>
+#include <time.h>
/** Result of HBAC evaluation */
enum hbac_eval_result {