aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-22 16:45:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-22 16:45:08 +0000
commit869865269995d67e5c30f45393e83eeee5229647 (patch)
tree2bd23d0a2d62c92e28b6b8589f21848a9404f306 /driver.c
parentd8e3aad2c36043d83d9ddc6af71a4724d3433096 (diff)
downloadfetchmail-869865269995d67e5c30f45393e83eeee5229647.tar.gz
fetchmail-869865269995d67e5c30f45393e83eeee5229647.tar.bz2
fetchmail-869865269995d67e5c30f45393e83eeee5229647.zip
EMX changes for OS/2.
svn path=/trunk/; revision=1668
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 8c0657c2..e6e44e6d 100644
--- a/driver.c
+++ b/driver.c
@@ -110,12 +110,14 @@ static phase;
static void set_timeout(int timeleft)
/* reset the nonresponse-timeout */
{
+#ifndef __EMX__
struct itimerval ntimeout;
ntimeout.it_interval.tv_sec = ntimeout.it_interval.tv_usec = 0;
ntimeout.it_value.tv_sec = timeleft;
ntimeout.it_value.tv_usec = 0;
setitimer(ITIMER_REAL, &ntimeout, (struct itimerval *)NULL);
+#endif
}
static void timeout_handler (int signal)