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:13:42 +0200 |
commit | 3ae207c525a6a2e10ae714c17cc36a04dc55b7ca (patch) | |
tree | 62ec4c0a588cced6e87605886698b1a1b841a8e0 | |
parent | 696605a4d7baa9aa8d5f30b0bb0e80e2afdc94ef (diff) | |
download | sssd-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.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 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 { |