Similarly to commit
665af52ec2a52184d39a76d6e724fa4733dbab3c, fix a build
failure seen with an updated glibc, due to the enum/constant mismatch.
The old include file order eventually makes asm/ptrace.h get included before
sys/ptrace.h.
This patch fixes it. Seems fairly obvious and I'll push it shortly.
gdb/ChangeLog:
2021-04-09 Luis Machado <luis.machado@linaro.org>
* nat/aarch64-mte-linux-ptrace.c: Update include file order.
+2021-04-09 Luis Machado <luis.machado@linaro.org>
+
+ * nat/aarch64-mte-linux-ptrace.c: Update include file order.
+
2021-04-08 Dominique Quatravaux <dominique.quatravaux@epfl.ch>
* darwin-nat.c (darwin_nat_target::resume): Remove status
#include "gdbsupport/common-defs.h"
#include "gdbsupport/byte-vector.h"
+#include "linux-ptrace.h"
+
#include "arch/aarch64.h"
#include "arch/aarch64-mte-linux.h"
#include "nat/aarch64-linux.h"
#include "nat/aarch64-mte-linux-ptrace.h"
-#include "linux-ptrace.h"
#include <sys/uio.h>
/* Helper function to display various possible errors when reading