diff lib-src/movemail.c @ 288:e11d67e05968 r21-0b42

Import from CVS: tag r21-0b42
author cvs
date Mon, 13 Aug 2007 10:35:54 +0200
parents c5d627a313b1
children 19dcec799385
line wrap: on
line diff
--- a/lib-src/movemail.c	Mon Aug 13 10:35:07 2007 +0200
+++ b/lib-src/movemail.c	Mon Aug 13 10:35:54 2007 +0200
@@ -95,6 +95,7 @@
    client or something other than Samba, the locking call might work
    properly - make sure it does before you enable this! */
 #define DISABLE_DIRECT_ACCESS
+#include <io.h>
 #endif /* WINDOWSNT */
 
 #if defined (HAVE_UNISTD_H) || defined (USG)
@@ -154,9 +155,11 @@
 main (int argc, char *argv[])
 {
   char *inname, *outname;
+#ifndef DISABLE_DIRECT_ACCESS
   int indesc, outdesc;
   int nread;
   int status;
+#endif
 
 #ifndef MAIL_USE_SYSTEM_LOCK
   struct stat st;