summaryrefslogtreecommitdiff
path: root/gdb/nat/linux-namespaces.c
diff options
context:
space:
mode:
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. */