summaryrefslogtreecommitdiff
path: root/distrib/special/more/more.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 /distrib/special/more/more.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 'distrib/special/more/more.c')
-rw-r--r--distrib/special/more/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/special/more/more.c b/distrib/special/more/more.c
index cd95e25eb0d..9178e888960 100644
--- a/distrib/special/more/more.c
+++ b/distrib/special/more/more.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: more.c,v 1.41 2019/06/28 13:32:52 deraadt Exp $ */
+/* $OpenBSD: more.c,v 1.42 2024/10/16 18:47:47 miod Exp $ */
/*
* Copyright (c) 2003 Todd C. Miller <millert@openbsd.org>
@@ -63,10 +63,10 @@
*/
#include <sys/types.h>
-#include <sys/exec.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#include <a.out.h>
#include <ctype.h>
#include <curses.h>
#include <errno.h>