summaryrefslogtreecommitdiff
path: root/src/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pop3.c')
-rw-r--r--src/pop3.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pop3.c b/src/pop3.c
index 660283e..d9fab19 100644
--- a/src/pop3.c
+++ b/src/pop3.c
@@ -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;