X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;h=da02701f50ba34fc587296a4088f566b88f9f782;hp=bf0804e171eef0911c12ac2ad8cd84a9b28f3b7b;hb=35c228531bc8e00d43be590255df9408a4fcbe19;hpb=f292123e4a8ff7bf829d2954ec838f677043ebd4 diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index bf0804e..da02701 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -18,8 +18,8 @@ #endif #ifdef CYRUS_SASL -#include -#include +#include +#include #include #include #include @@ -502,15 +502,6 @@ rclient (char *server, char *protocol, char *service) return NOTOK; } -#ifdef CYRUS_SASL -#include -#include -#include -#include -#include -#include -#endif /* CYRUS_SASL */ - int sm_winit (int mode, char *from) { @@ -968,7 +959,7 @@ bad_data: free (cp); { -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE struct stat st; if (fstat (fileno (sm_wfp), &st) == NOTOK || (cc = st.st_blksize) < BUFSIZ)