Rename "sun" variable to avoid conflicts on Solaris
authorChristian Biesinger <cbiesinger@google.com>
Wed, 18 Dec 2019 22:50:55 +0000 (16:50 -0600)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 19 Dec 2019 19:02:39 +0000 (13:02 -0600)
commitaa989b27d0bad451455416953c0e5026e229863a
treee7783207a424029f46dbb1ec99862e24c3542bbf
parent78aa740b768e1e62f8bf9d216901245c452a31d9
Rename "sun" variable to avoid conflicts on Solaris

A Solaris system header has a #define for "sun".  This renames
that variable to avoid the conflict, fixing a build error with
--enable-targets=all on Solaris.

gdb/ChangeLog:

2019-12-19  Christian Biesinger  <cbiesinger@google.com>

* fbsd-tdep.c (fbsd_info_proc_files_entry): Rename local var
"sun" to "saddr_un".

Change-Id: I07a5cd801db1e28ccab8a473ebad74d7afe017c2
gdb/ChangeLog
gdb/fbsd-tdep.c