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 4ff7ede0b25ac58a8030d6310b12e353a01031be..6fe3ae9ad2a7f41c317ad6f21663a409a29fb76d 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 4f34788a7c275951acafcf39df4a32f16df4e63d..d73b5b867f074af1f3cbfc7e09c60ad5b17cb306 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