diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/krb5/krb5_child_handler.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_child_handler.c b/src/providers/krb5/krb5_child_handler.c index 990a9ecc..87f9d3ca 100644 --- a/src/providers/krb5/krb5_child_handler.c +++ b/src/providers/krb5/krb5_child_handler.c @@ -28,11 +28,15 @@ #include "providers/krb5/krb5_auth.h" #include "src/providers/krb5/krb5_utils.h" +#ifndef KRB5_CHILD_DIR #ifndef SSSD_LIBEXEC_PATH #error "SSSD_LIBEXEC_PATH not defined" -#else -#define KRB5_CHILD SSSD_LIBEXEC_PATH"/krb5_child" -#endif +#endif /* SSSD_LIBEXEC_PATH */ + +#define KRB5_CHILD_DIR SSSD_LIBEXEC_PATH +#endif /* KRB5_CHILD_DIR */ + +#define KRB5_CHILD KRB5_CHILD_DIR"/krb5_child" struct io { int read_from_child_fd; |