Fixes build on NetBSD. types.h does not define register_t by default.
gdb/ChangeLog:
* vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
register_t.
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
+ register_t.
+
2020-03-13 Tom Tromey <tom@tromey.com>
* value.h (val_print): Don't declare.
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"