summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/time.h')
-rw-r--r--newlib/libc/include/sys/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h
index d48839f6e..3c9bf771b 100644
--- a/newlib/libc/include/sys/time.h
+++ b/newlib/libc/include/sys/time.h
@@ -12,7 +12,7 @@
extern "C" {
#endif
-#ifndef _WINSOCK_H
+#ifndef _TIMEVAL_DEFINED
#define _TIMEVAL_DEFINED
struct timeval {
time_t tv_sec;
@@ -28,7 +28,7 @@ struct timezone {
#include <cygwin/sys_time.h>
#endif /* __CYGWIN__ */
-#endif /* _WINSOCK_H */
+#endif /* !_TIMEVAL_DEFINED */
#define ITIMER_REAL 0
#define ITIMER_VIRTUAL 1