]> git.marmaro.de Git - mmh/blobdiff - mts/sendmail/sendmail.c
Use "#include <errno.h>" instead of "extern int errno;". Suggested by
[mmh] / mts / sendmail / sendmail.c
index 75565036f2b4ded0f13d6bc38a51fa05ba2cb061..1ff41387ad26b309f710bd65904012cd45998718 100644 (file)
@@ -9,6 +9,9 @@
 #include <mts/smtp/smtp.h>
 #include <zotnet/mts/mts.h>
 #include <signal.h>
+#ifdef MPOP
+#include <errno.h>
+#endif
 
 /*
  * This module implements an interface to SendMail very similar
@@ -74,10 +77,6 @@ static char *sm_moreply = "; ";
 
 struct smtp sm_reply;          /* global... */
 
-#ifdef MPOP
-extern int errno;
-#endif
-
 static int doingEHLO;
 
 #define        MAXEHLO 20