aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/netbsd
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-08-27 11:28:16 -0600
committerWarner Losh <imp@bsdimp.com>2021-09-10 14:13:06 -0600
commitd1dc9ab3afd51f0a8d6a6b19edca3dd345deb32d (patch)
tree07d8afe401ad1f672a195a0666e7412bf2925b70 /bsd-user/netbsd
parentcce7ae5c06897a87092456622cf9d46486306a64 (diff)
bsd-user: Include host-os.h from main
Include host-os.h from main.c to pick up the default OS to emulate. Set that default in main(). Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/netbsd')
-rw-r--r--bsd-user/netbsd/host-os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-user/netbsd/host-os.h b/bsd-user/netbsd/host-os.h
index d4bbc7d58f..c0be51a7ef 100644
--- a/bsd-user/netbsd/host-os.h
+++ b/bsd-user/netbsd/host-os.h
@@ -20,4 +20,6 @@
#ifndef _HOST_OS_H_
#define _HOST_OS_H_
+#define HOST_DEFAULT_BSD_TYPE target_netbsd
+
#endif /*!_HOST_OS_H_ */