Add missing dkbad.h include and define _KERNTYPES so we get all internal

types (like register_t) that we need for ptrace.
Fixes the build on sparc64.
This commit is contained in:
martin 2020-09-13 08:51:58 +00:00
parent d225ec12a5
commit 7799f82205
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <sys/chio.h>
#include <sys/clockctl.h>
#include <sys/cpuio.h>
#include <sys/dkbad.h>
#include <sys/dkio.h>
#include <sys/drvctlio.h>
#include <sys/dvdio.h>

View File

@ -18,6 +18,7 @@
#if SANITIZER_NETBSD
#define _KERNTYPES /* we want register_t for some ptrace functions */
#include "sanitizer_stoptheworld.h"
#include "sanitizer_atomic.h"