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