summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-09-10 20:08:14 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-09-10 20:08:14 +0000
commitbaac7145f1309696b85174e8deb1062cfdf5a12a (patch)
tree3845a29b342afb6eafbe06f43a95755ea013483f
parent888d988977d814d68cb49acd7536cb0a6e954270 (diff)
include sys/exec.h (which includes machine/exec.h) before sys/exec_elf.h
to get the define for _KERN_DO_ELF
-rw-r--r--sys/compat/svr4/svr4_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c
index cccecd5c0e4..599af56ebc9 100644
--- a/sys/compat/svr4/svr4_exec.c
+++ b/sys/compat/svr4/svr4_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_exec.c,v 1.7 1998/03/06 22:05:47 niklas Exp $ */
+/* $OpenBSD: svr4_exec.c,v 1.8 1999/09/10 20:08:13 art Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -35,6 +35,7 @@
#include <sys/malloc.h>
#include <sys/namei.h>
#include <sys/vnode.h>
+#include <sys/exec.h>
#include <sys/exec_elf.h>
#include <sys/exec_olf.h>
@@ -45,7 +46,6 @@
#include <machine/cpu.h>
#include <machine/reg.h>
-#include <machine/exec.h>
#include <machine/svr4_machdep.h>
#include <compat/svr4/svr4_util.h>