summaryrefslogtreecommitdiff
path: root/usr.sbin/mopd/mopa.out/mopa.out.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-10-16 18:47:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-10-16 18:47:49 +0000
commit157461f00db007d6b7e901dfd2c7309aaa80f935 (patch)
treefa5550a47de7e4551970e5b44a7205ed59c67d08 /usr.sbin/mopd/mopa.out/mopa.out.c
parentf79ed711b86f19fd16c7cbd5fb905c21f9907c17 (diff)
a.out is no longer the commonly encountered binary file format, the world has
moved to ELF. Move the a.out specific defines and macros, but the MID_xxx values, from <sys/exec.h> to <a.out.h>, and update the few userland binaries which really need these defines (i.e. boot-related tools for old architectures) to explicitly include <a.out.h> when needed. "Fine" deraadt@
Diffstat (limited to 'usr.sbin/mopd/mopa.out/mopa.out.c')
-rw-r--r--usr.sbin/mopd/mopa.out/mopa.out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mopd/mopa.out/mopa.out.c b/usr.sbin/mopd/mopa.out/mopa.out.c
index 3ecb923fe33..35ed44cb5a0 100644
--- a/usr.sbin/mopd/mopa.out/mopa.out.c
+++ b/usr.sbin/mopd/mopa.out/mopa.out.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mopa.out.c,v 1.18 2022/12/28 21:30:17 jmc Exp $ */
+/* $OpenBSD: mopa.out.c,v 1.19 2024/10/16 18:47:48 miod Exp $ */
/*
* mopa.out - Convert a Unix format kernel into something that
@@ -53,7 +53,7 @@
#include "common/mopdef.h"
#include "common/file.h"
#if defined(__OpenBSD__)
-#include <sys/exec.h>
+#include <a.out.h>
#endif
#if defined(__FreeBSD__)
#include <sys/imgact_aout.h>