diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 15:53:47 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 15:55:44 +0100 |
commit | 2190cf067b87e804c59c0a0c14c8ae48deabfbf4 (patch) | |
tree | 5c24a5a89488e02d5919b3ceb1502fb9af8e8e33 /gdb/alpha-bsd-nat.c | |
parent | 54c4382534f0c894434deca5eb89cd02661d6feb (diff) | |
download | binutils-2190cf067b87e804c59c0a0c14c8ae48deabfbf4.zip binutils-2190cf067b87e804c59c0a0c14c8ae48deabfbf4.tar.gz binutils-2190cf067b87e804c59c0a0c14c8ae48deabfbf4.tar.bz2 |
Define _KERNTYPES in alpha-bsd-nat.c
Fixes build on NetBSD. types.h does not define register_t by default.
gdb/ChangeLog:
* alpha-bsd-nat.c: Define _KERNTYPES to get the declaration of
register_t.
Diffstat (limited to 'gdb/alpha-bsd-nat.c')
-rw-r--r-- | gdb/alpha-bsd-nat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c index 747c3c5..49f69f5 100644 --- a/gdb/alpha-bsd-nat.c +++ b/gdb/alpha-bsd-nat.c @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* We define this to get types like register_t. */ +#define _KERNTYPES #include "defs.h" #include "inferior.h" #include "regcache.h" |