summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_hbac.h
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:02:49 +0200
commit7ef1ff8673668c5254db9194a125f58755e2d2b1 (patch)
tree3b2067d7a89a01cd05162c75d6ce27f34a63f369 /src/providers/ipa/ipa_hbac.h
parent47d35b3d6b0e1023c8dcdbc8371d6f3ca762dfe4 (diff)
downloadsssd-7ef1ff8673668c5254db9194a125f58755e2d2b1.tar.gz
sssd-7ef1ff8673668c5254db9194a125f58755e2d2b1.tar.xz
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.
Diffstat (limited to 'src/providers/ipa/ipa_hbac.h')
-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 {