diff options
author | Pedro Alves <pedro@codesourcery.com> | 2012-03-06 17:17:12 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2012-03-06 17:17:12 +0000 |
commit | 31a184b1ffc7ba795cc2f2600b1067875d6f477d (patch) | |
tree | 7abf699ea828d60e676c7ae974e3f37f298441a8 | |
parent | 3d95994f68cdad292b011aee4461ead4b08bc53b (diff) | |
download | gdb-31a184b1ffc7ba795cc2f2600b1067875d6f477d.tar.gz |
2012-03-06 Pedro Alves <palves@redhat.com>
* gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gregset.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4ff7ede0b25..6fe3ae9ad2a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-03-06 Pedro Alves <palves@redhat.com> + + * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>. + 2012-03-05 Joel Brobecker <brobecker@adacore.com> * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer. diff --git a/gdb/gregset.h b/gdb/gregset.h index 4f34788a7c2..d73b5b867f0 100644 --- a/gdb/gregset.h +++ b/gdb/gregset.h @@ -19,6 +19,10 @@ #ifndef GREGSET_H #define GREGSET_H +#ifdef HAVE_SYS_PROCFS_H +#include <sys/procfs.h> +#endif + #ifndef GDB_GREGSET_T #define GDB_GREGSET_T gregset_t #endif |