summaryrefslogtreecommitdiffstats
path: root/util/ipa_pwd.h
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-02-17 14:28:41 +0000
committerPetr Vobornik <pvoborni@redhat.com>2017-02-22 15:48:36 +0100
commit41d7ae54fafc6deb602e1a990eaec37c6ae4880b (patch)
treedd321ca581fa0fc0842dde9b44f16fb690c89663 /util/ipa_pwd.h
parent70554938d4f9ba5b347cd4bc8001428e905198e4 (diff)
downloadfreeipa-41d7ae54fafc6deb602e1a990eaec37c6ae4880b.tar.gz
freeipa-41d7ae54fafc6deb602e1a990eaec37c6ae4880b.tar.xz
freeipa-41d7ae54fafc6deb602e1a990eaec37c6ae4880b.zip
ipa_pwd: remove unnecessary dependency on dirsrv plugins
"dirsrv/slapi-plugin.h" is unnecessary for build of ipa_pwd. This patch allow us to move DIRSRV to daemon only dependencies Reviewed-By: Simo Sorce <ssorce@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Diffstat (limited to 'util/ipa_pwd.h')
-rw-r--r--util/ipa_pwd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/ipa_pwd.h b/util/ipa_pwd.h
index 15041c4e5..616ce2763 100644
--- a/util/ipa_pwd.h
+++ b/util/ipa_pwd.h
@@ -22,6 +22,8 @@
#pragma once
+#include <time.h> /* for time_t */
+
/* 90 days default pwd max lifetime */
#define IPAPWD_DEFAULT_PWDLIFE (90 * 24 *3600)
#define IPAPWD_DEFAULT_MINLEN 0