This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] s390-nat.c: Fix missing prototypes
Pedro Alves <palves@redhat.com> writes:
> Builds fine on x64-64 Fedora, [...]
> Comments, anyone?
Builds fine on s390x.
>
> 2012-03-06 Pedro Alves <palves@redhat.com>
>
> * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
>
> ---
>
> gdb/gregset.h | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> 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