aboutsummaryrefslogtreecommitdiff
path: root/lib/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timeval.h')
-rw-r--r--lib/timeval.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/timeval.h b/lib/timeval.h
index f136a56d9..6be5e4276 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -38,7 +38,8 @@
#ifndef HAVE_GETTIMEOFDAY
#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) && \
- !defined(__LCC__) && !defined(__WATCOMC__) && !defined(__POCC__)
+ !defined(__LCC__) && !defined(__WATCOMC__) && !defined(__POCC__) && \
+ !defined(__ECOS)
struct timeval {
long tv_sec;
long tv_usec;