summaryrefslogtreecommitdiff
path: root/gdb/ser-unix.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-unix.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/ser-unix.c')
-rw-r--r--gdb/ser-unix.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index 5a9965bf744..ea286fbae6e 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -18,20 +18,24 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "serial.h"
-#include "ser-base.h"
#include "ser-unix.h"
+/* Standard C includes. */
#include <fcntl.h>
-#include <sys/types.h>
-#include "terminal.h"
#include <sys/socket.h>
+#include <sys/types.h>
+#include <termios.h>
+
+/* Local subdirectory includes. */
+#include "common/filestuff.h"
#include "common/gdb_sys_time.h"
+/* Local includes. */
#include "gdb_select.h"
#include "gdbcmd.h"
-#include "common/filestuff.h"
-#include <termios.h>
+#include "ser-base.h"
+#include "serial.h"
+#include "terminal.h"
struct hardwire_ttystate
{