summaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-30 11:29:17 -0600
committerTom Tromey <tom@tromey.com>2019-03-30 11:36:53 -0600
commit268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch)
treec97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/ser-tcp.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-268f4c4cd7b229f7f23ebbf6006973ebe0a05888.tar.gz
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 039b0432231..c3c3ebca73c 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -18,25 +18,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "serial.h"
-#include "ser-base.h"
#include "ser-tcp.h"
-#include "gdbcmd.h"
-#include "cli/cli-decode.h"
-#include "cli/cli-setshow.h"
-#include "common/filestuff.h"
-#include "common/netstuff.h"
-
-#include <sys/types.h>
+/* Standard C includes. */
#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/types.h>
+/* Local subdirectory includes. */
+#include "cli/cli-decode.h"
+#include "cli/cli-setshow.h"
+#include "common/filestuff.h"
#include "common/gdb_sys_time.h"
+#include "common/netstuff.h"
+
+/* Local includes. */
+#include "gdbcmd.h"
+#include "ser-base.h"
+#include "serial.h"
#ifdef USE_WIN32API
#if _WIN32_WINNT < 0x0501