mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
Define _KERNTYPES in mips-nbsd-nat.c
Fixes build on NetBSD. types.h does not define register_t by default. gdb/ChangeLog: * mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of register_t.
This commit is contained in:
parent
52feded778
commit
8110f842bc
@ -1,3 +1,8 @@
|
||||
2020-03-14 Kamil Rytarowski <n54@gmx.com>
|
||||
|
||||
* mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of
|
||||
register_t.
|
||||
|
||||
2020-03-14 Kamil Rytarowski <n54@gmx.com>
|
||||
|
||||
* ppc-nbsd-nat.c: Define _KERNTYPES to get the declaration of
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user