Minor changes.
* libmu_argp/mailutils.c: Include argp-namefrob.h * libproto/mailer/smtp_auth.c (get_ticket) (_mu_smtp_fixup_params): Protect with WITH_GSASL
Showing
2 changed files
with
4 additions
and
0 deletions
... | @@ -21,6 +21,8 @@ | ... | @@ -21,6 +21,8 @@ |
21 | #include "cmdline.h" | 21 | #include "cmdline.h" |
22 | #include <unistd.h> | 22 | #include <unistd.h> |
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | /* Provide declaration of __argp_base_name: */ | ||
25 | #include <argp-namefrob.h> | ||
24 | 26 | ||
25 | 27 | ||
26 | /* ************************************************************************* */ | 28 | /* ************************************************************************* */ | ... | ... |
... | @@ -29,6 +29,7 @@ | ... | @@ -29,6 +29,7 @@ |
29 | #include <mailutils/auth.h> | 29 | #include <mailutils/auth.h> |
30 | #include <mailutils/url.h> | 30 | #include <mailutils/url.h> |
31 | 31 | ||
32 | #if defined(WITH_GSASL) | ||
32 | static int | 33 | static int |
33 | get_ticket (mu_ticket_t *pticket) | 34 | get_ticket (mu_ticket_t *pticket) |
34 | { | 35 | { |
... | @@ -99,6 +100,7 @@ _mu_smtp_fixup_params (mu_smtp_t smtp) | ... | @@ -99,6 +100,7 @@ _mu_smtp_fixup_params (mu_smtp_t smtp) |
99 | 100 | ||
100 | return 0; | 101 | return 0; |
101 | } | 102 | } |
103 | #endif | ||
102 | 104 | ||
103 | int | 105 | int |
104 | mu_smtp_auth (mu_smtp_t smtp) | 106 | mu_smtp_auth (mu_smtp_t smtp) | ... | ... |
-
Please register or sign in to post a comment