mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
Define _KERNTYPES in ppc-nbsd-nat.c
Fixes build on NetBSD. types.h does not define register_t by default. gdb/ChangeLog: * ppc-nbsd-nat.c: Define _KERNTYPES to get the declaration of register_t.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2020-03-14 Kamil Rytarowski <n54@gmx.com>
|
||||||
|
|
||||||
|
* ppc-nbsd-nat.c: Define _KERNTYPES to get the declaration of
|
||||||
|
register_t.
|
||||||
|
|
||||||
2020-03-14 Kamil Rytarowski <n54@gmx.com>
|
2020-03-14 Kamil Rytarowski <n54@gmx.com>
|
||||||
|
|
||||||
* vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
|
* vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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 "defs.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
Reference in New Issue
Block a user