summaryrefslogtreecommitdiff
path: root/gdb/nat/linux-namespaces.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/nat/linux-namespaces.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/nat/linux-namespaces.c')
-rw-r--r--gdb/nat/linux-namespaces.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c
index c0f326b9a1e..7138bf6e454 100644
--- a/gdb/nat/linux-namespaces.c
+++ b/gdb/nat/linux-namespaces.c
@@ -19,15 +19,19 @@
#include "common/common-defs.h"
#include "nat/linux-namespaces.h"
-#include "common/filestuff.h"
+
+/* Standard C includes. */
#include <fcntl.h>
+#include <sched.h>
+#include <signal.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/socket.h>
+
+/* Local subdirectory includes. */
+#include "common/filestuff.h"
#include "common/gdb_wait.h"
-#include <signal.h>
-#include <sched.h>
#include "common/scope-exit.h"
/* See nat/linux-namespaces.h. */