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:02:49 +0200 |
commit | 7ef1ff8673668c5254db9194a125f58755e2d2b1 (patch) | |
tree | 3b2067d7a89a01cd05162c75d6ce27f34a63f369 | |
parent | 47d35b3d6b0e1023c8dcdbc8371d6f3ca762dfe4 (diff) | |
download | sssd-7ef1ff8673668c5254db9194a125f58755e2d2b1.tar.gz sssd-7ef1ff8673668c5254db9194a125f58755e2d2b1.tar.bz2 sssd-7ef1ff8673668c5254db9194a125f58755e2d2b1.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.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 8bc2c4f9..f4361135 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 { |