diff options
Diffstat (limited to 'src/pop3.c')
-rw-r--r-- | src/pop3.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -31,6 +31,7 @@ static const char id[]="$Id$"; #include <stdarg.h> #include <ctype.h> +#include <unistd.h> #include <sys/types.h> #include <sys/select.h> #include <sys/socket.h> @@ -183,7 +184,6 @@ static int GetChar(void) static char buff[BLOCKSIZE]; static ssize_t len=0; static int ptr=0; - int ch; if (len==0 || ptr==len) { @@ -214,10 +214,9 @@ static int GetChar(void) static int GetLine(DString t) { - size_t size; int done; - int ch; int last; + int ch; done=FALSE; |