2001-12-07 Martin M. Hunt <hunt@redhat.com>
authorMartin Hunt <hunt@redhat.com>
Fri, 7 Dec 2001 17:57:05 +0000 (17:57 +0000)
committerMartin Hunt <hunt@redhat.com>
Fri, 7 Dec 2001 17:57:05 +0000 (17:57 +0000)
* 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/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.in
gdb/ser-tcp.c

index 52cdf82fe785ce49027b4e363901c95aede45bd2..9acd44a037df1d7a6f9e35088f62b2676f28dfcd 100644 (file)
@@ -1,3 +1,10 @@
+2001-12-07  Martin M. Hunt  <hunt@redhat.com>
+
+       * configure.in: Check for sys/filio.h
+       * configure: Rebuild.
+       * config.in: Add HAVE_SYS_FILIO_H
+       * ser-tcp.c: Conditionally include sys/filio.h.
+       
 2001-12-07  Andrew Cagney  <ac131313@redhat.com>
 
        * ui-out.c (ui_out_table_begin): Initialize body_flag.
index d2d03d59916f5a8c4774e31eca8934ed38934f0c..c80d8a8b105a1533449a3205fc8266ecfa95c1e0 100644 (file)
 /* Define if you have the <sys/ioctl.h> header file.  */
 #undef HAVE_SYS_IOCTL_H
 
+/* Define if you have the <sys/filio.h> header file.  */
+#undef HAVE_SYS_FILIO_H
+
 /* Define if you have the <sys/ndir.h> header file.  */
 #undef HAVE_SYS_NDIR_H
 
index dd5ea43a9866dee4cc8d414d141893809a4b54ad..dcb5ce23b0b9159ca426f1ddc3cdeccd18b8d09e 100755 (executable)
@@ -3407,7 +3407,7 @@ for ac_hdr in ctype.h endian.h nlist.h link.h thread_db.h proc_service.h \
        term.h termio.h termios.h unistd.h wait.h sys/wait.h \
        wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
        time.h sys/file.h sys/ioctl.h sys/user.h sys/fault.h sys/syscall.h \
-       dirent.h sys/ndir.h sys/dir.h ndir.h \
+       dirent.h sys/ndir.h sys/dir.h ndir.h sys/filio.h \
        curses.h ncurses.h \
        poll.h sys/poll.h
 do
index b3ac702abd161f1efa9f56012b98d491ceb4deb6..8df5c87a51dec8f3f9d2b78440fe07bb3ac8d1d7 100644 (file)
@@ -124,7 +124,7 @@ AC_CHECK_HEADERS(ctype.h endian.h nlist.h link.h thread_db.h proc_service.h \
        term.h termio.h termios.h unistd.h wait.h sys/wait.h \
        wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
        time.h sys/file.h sys/ioctl.h sys/user.h sys/fault.h sys/syscall.h \
-       dirent.h sys/ndir.h sys/dir.h ndir.h \
+       dirent.h sys/ndir.h sys/dir.h ndir.h sys/filio.h \
        curses.h ncurses.h \
        poll.h sys/poll.h)
 AC_HEADER_STAT
index 0e96f0322d543215f685318cffaa4e541baf5175..6a6517744be2ad1b09cdf260c88430aeed93a569 100644 (file)
 #include "ser-unix.h"
 
 #include <sys/types.h>
-#include <sys/ioctl.h>
+
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h>  /* For FIONBIO. */
+#endif
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>  /* For FIONBIO. */
+#endif
+
 #include <sys/time.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
This page took 0.036468 seconds and 4 git commands to generate.