diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2017-02-17 14:28:41 +0000 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2017-02-22 15:48:36 +0100 |
commit | 41d7ae54fafc6deb602e1a990eaec37c6ae4880b (patch) | |
tree | dd321ca581fa0fc0842dde9b44f16fb690c89663 /util | |
parent | 70554938d4f9ba5b347cd4bc8001428e905198e4 (diff) | |
download | freeipa-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')
-rw-r--r-- | util/ipa_pwd.h | 2 | ||||
-rw-r--r-- | util/ipa_pwd_ntlm.c | 2 |
2 files changed, 3 insertions, 1 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 diff --git a/util/ipa_pwd_ntlm.c b/util/ipa_pwd_ntlm.c index e7acb9be7..f7099811e 100644 --- a/util/ipa_pwd_ntlm.c +++ b/util/ipa_pwd_ntlm.c @@ -24,10 +24,10 @@ * */ +#include <stdlib.h> #include <stdbool.h> #include <iconv.h> #include <openssl/md4.h> -#include <dirsrv/slapi-plugin.h> #include "ipa_pwd.h" |