aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share/hostchan.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rdi-share/hostchan.c')
-rw-r--r--gdb/rdi-share/hostchan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rdi-share/hostchan.c b/gdb/rdi-share/hostchan.c
index 8291ea8..8e41da4 100644
--- a/gdb/rdi-share/hostchan.c
+++ b/gdb/rdi-share/hostchan.c
@@ -17,7 +17,7 @@
#include <stdio.h>
-#if defined(__unix) || defined(__CYGWIN32__)
+#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#else
# include "winsock.h"