aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-06 17:17:16 +0000
committerPedro Alves <palves@redhat.com>2012-03-06 17:17:16 +0000
commit1b7c1b10aaa8bd6eec6555ac64fd070c43a45706 (patch)
treea1a9d80f0fe9d0f32e621a0913d91d9585220d49 /gdb
parentba2419699afe06cf8354f52c297e38191479ee93 (diff)
downloadgdb-1b7c1b10aaa8bd6eec6555ac64fd070c43a45706.zip
gdb-1b7c1b10aaa8bd6eec6555ac64fd070c43a45706.tar.gz
gdb-1b7c1b10aaa8bd6eec6555ac64fd070c43a45706.tar.bz2
2012-03-06 Pedro Alves <palves@redhat.com>
* gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
Diffstat (limited to 'gdb')
-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 4ff7ede..6fe3ae9 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 4f34788..d73b5b8 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