summaryrefslogtreecommitdiff
path: root/bsd-user/freebsd
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/freebsd
parentcce7ae5c06897a87092456622cf9d46486306a64 (diff)
downloadqemu-d1dc9ab3afd51f0a8d6a6b19edca3dd345deb32d.zip
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/freebsd')
-rw-r--r--bsd-user/freebsd/host-os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-user/freebsd/host-os.h b/bsd-user/freebsd/host-os.h
index bd3f2892db..dfb8344b7b 100644
--- a/bsd-user/freebsd/host-os.h
+++ b/bsd-user/freebsd/host-os.h
@@ -20,4 +20,6 @@
#ifndef _HOST_OS_H_
#define _HOST_OS_H_
+#define HOST_DEFAULT_BSD_TYPE target_freebsd
+
#endif /*!_HOST_OS_H_ */