#include <h/mh.h>
#include "smtp.h"
-#include <zotnet/mts/mts.h>
+#include <h/mts.h>
#include <signal.h>
#include <h/signals.h>
#ifdef MPOP
#include <errno.h>
#endif
+#ifdef CYRUS_SASL
+#include <sasl.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <errno.h>
+#endif /* CYRUS_SASL */
+
/*
* This module implements an interface to SendMail very similar
* to the MMDF mm_(3) routines. The sm_() routines herein talk
/*
* static prototypes
*/
-static int smtp_init (char *, char *, int, int, int, int, int);
+static int smtp_init (char *, char *, int, int, int, int, int, int,
+ char *, char *);
static int sendmail_init (char *, char *, int, int, int, int, int);
static int rclient (char *, char *, char *);
static int sm_auth_sasl(char *, char *, char *);
#endif /* CYRUS_SASL */
-/* from zotnet/mts/client.c */
+/* from mts/generic/client.c */
int client (char *, char *, char *, int, char *, int);
int