aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
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)