2012-03-06 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Tue, 6 Mar 2012 17:17:16 +0000 (17:17 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 6 Mar 2012 17:17:16 +0000 (17:17 +0000)
* gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.

gdb/ChangeLog
gdb/gregset.h

index 4ff7ede..6fe3ae9 100644 (file)
@@ -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.
index 4f34788..d73b5b8 100644 (file)
 #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