summaryrefslogtreecommitdiff
path: root/gdb/ser-unix.c
diff options
context:
space:
mode:
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
{