From 81fbec63f47727f52dfa6bb3bb59aa28e9aa974f Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Fri, 7 Dec 2001 17:57:05 +0000 Subject: 2001-12-07 Martin M. Hunt * configure.in: Check for sys/filio.h * configure: Rebuild. * config.in: Add HAVE_SYS_FILIO_H * ser-tcp.c: Conditionally include sys/filio.h. --- gdb/ser-tcp.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gdb/ser-tcp.c') diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 0e96f0322d5..6a6517744be 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -24,7 +24,14 @@ #include "ser-unix.h" #include -#include + +#ifdef HAVE_SYS_FILIO_H +#include /* For FIONBIO. */ +#endif +#ifdef HAVE_SYS_IOCTL_H +#include /* For FIONBIO. */ +#endif + #include #include #include -- cgit v1.2.1