summaryrefslogtreecommitdiffstats
path: root/bsd-user/openbsd
diff options
context:
space:
mode:
authorWarner Losh2021-08-27 19:28:16 +0200
committerWarner Losh2021-09-10 22:13:06 +0200
commitd1dc9ab3afd51f0a8d6a6b19edca3dd345deb32d (patch)
tree07d8afe401ad1f672a195a0666e7412bf2925b70 /bsd-user/openbsd
parentbsd-user: add host-os.h (diff)
downloadqemu-d1dc9ab3afd51f0a8d6a6b19edca3dd345deb32d.tar.gz
qemu-d1dc9ab3afd51f0a8d6a6b19edca3dd345deb32d.tar.xz
qemu-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/openbsd')
-rw-r--r--bsd-user/openbsd/host-os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-user/openbsd/host-os.h b/bsd-user/openbsd/host-os.h
index ae23bfef64..eb8fdf1567 100644
--- a/bsd-user/openbsd/host-os.h
+++ b/bsd-user/openbsd/host-os.h
@@ -20,4 +20,6 @@
#ifndef _HOST_OS_H_
#define _HOST_OS_H_
+#define HOST_DEFAULT_BSD_TYPE target_openbsd
+
#endif /*!_HOST_OS_H_ */