summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2012-03-06 17:17:12 +0000
committerPedro Alves <pedro@codesourcery.com>2012-03-06 17:17:12 +0000
commit31a184b1ffc7ba795cc2f2600b1067875d6f477d (patch)
tree7abf699ea828d60e676c7ae974e3f37f298441a8
parent3d95994f68cdad292b011aee4461ead4b08bc53b (diff)
downloadgdb-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/ChangeLog4
-rw-r--r--gdb/gregset.h4
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