* gdb.c++/classes.exp: Add test for static member function.
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
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.035677 seconds and 4 git commands to generate.