diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 16:49:41 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 16:49:41 +0100 |
commit | f90280caf5b34ebd564809a7f66685efc79bbf6d (patch) | |
tree | 7ee2a0666b911a4165251df856b8af17ebf3f7dc /gdb/m68k-bsd-nat.c | |
parent | 6def66f1404e58b376655f6fb622aeb9dfc0f587 (diff) | |
download | gdb-f90280caf5b34ebd564809a7f66685efc79bbf6d.zip gdb-f90280caf5b34ebd564809a7f66685efc79bbf6d.tar.gz gdb-f90280caf5b34ebd564809a7f66685efc79bbf6d.tar.bz2 |
Define _KERNTYPES in m68k-bsd-nat.c
Fixes build on NetBSD. types.h does not define register_t by default.
gdb/ChangeLog:
* m68k-bsd-nat.c: Define _KERNTYPES to get the declaration of
register_t.
Diffstat (limited to 'gdb/m68k-bsd-nat.c')
-rw-r--r-- | gdb/m68k-bsd-nat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/m68k-bsd-nat.c b/gdb/m68k-bsd-nat.c index 184b5c2..9f0ecf9 100644 --- a/gdb/m68k-bsd-nat.c +++ b/gdb/m68k-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 "gdbcore.h" #include "inferior.h" |