Re: [PATCH] Make ARM/Linux build on current glibc

Daniel Jacobowitz
2001-10-31T07:58:00Z

On Wed, Oct 31, 2001 at 10:57:47AM -0500, Daniel Jacobowitz wrote:
> <sys/user.h> no longer includes <asm/ptrace.h>. If we want it, we've got to
> get it ourselves.

Right... include the patch..

Committed as obvious.

--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer

2001-10-31 Daniel Jacobowitz <drow@mvista.com>

* arm-linux-nat.c: Include <asm/ptrace.h> explicitly.

Index: arm-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-linux-nat.c,v
retrieving revision 1.12
diff -u -r1.12 arm-linux-nat.c
--- arm-linux-nat.c 2001/10/26 15:41:17 1.12
+++ arm-linux-nat.c 2001/10/31 15:54:03
@@ -29,6 +29,8 @@
#include <sys/utsname.h>
#include <sys/procfs.h>

+#include <asm/ptrace.h>
+
/* Prototypes for supply_gregset etc. */
#include "gregset.h"