aboutsummaryrefslogtreecommitdiff
path: root/lib/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timeval.h')
-rw-r--r--lib/timeval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timeval.h b/lib/timeval.h
index a03ba2a6e..84ea27418 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -33,7 +33,7 @@
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <time.h>
#else
-#ifndef __WATCOMC__ /* todo: Add HAVE_SYS_TIME_H */
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#endif