diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-28 08:31:18 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-28 22:17:51 +0200 |
commit | b7fd1a399e96a1beec71bfc269cd9e789ba64dac (patch) | |
tree | af85eba9d0206a0e7a65462d99cd5fc7f33e90d4 /src | |
parent | 9260f20cfd1c6affc990b83af9d8076a93e18591 (diff) | |
download | sssd-b7fd1a399e96a1beec71bfc269cd9e789ba64dac.tar.gz sssd-b7fd1a399e96a1beec71bfc269cd9e789ba64dac.tar.xz sssd-b7fd1a399e96a1beec71bfc269cd9e789ba64dac.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.
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ipa/ipa_hbac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_hbac.h b/src/providers/ipa/ipa_hbac.h index 02077e37e..b1d8efabb 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 { |