diff options
| author | christos <christos@NetBSD.org> | 1998-10-03 20:17:36 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1998-10-03 20:17:36 +0000 |
| commit | 908291d2fe8cb6a2e32a51bc81af769b53ddb7f8 (patch) | |
| tree | 94648880c2137c1913a1b3c1f7d2e8eb18d6fea2 /sys/compat/linux/common/linux_exec.h | |
| parent | 78f9c9bd250d162debb35400ee643ad8fc32d505 (diff) | |
Attempt to fix the mess.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.h')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_exec.h b/sys/compat/linux/common/linux_exec.h index a8330a0302b..640efe219de 100644 --- a/sys/compat/linux/common/linux_exec.h +++ b/sys/compat/linux/common/linux_exec.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.h,v 1.9 1998/10/01 02:11:00 erh Exp $ */ +/* $NetBSD: linux_exec.h,v 1.10 1998/10/03 20:17:40 christos Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -67,9 +67,17 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ +#ifndef _LINUX_EXEC_H +#define _LINUX_EXEC_H + +#if defined(__i386__) +#include <compat/linux/arch/i386/linux_exec.h> +#elif defined(__alpha__) +#include <compat/linux/arch/alpha/linux_exec.h> +#else +#error Undefined linux_exec.h machine type. +#endif -#ifndef _COMMON_LINUX_EXEC_H -#define _COMMON_LINUX_EXEC_H /* Defines for a.out executables */ #define LINUX_AOUT_HDR_SIZE (sizeof (struct exec)) @@ -110,4 +118,4 @@ int linux_elf64_probe __P((struct proc *, struct exec_package *, Elf64_Ehdr *, __END_DECLS #endif /* !_KERNEL */ -#endif /* !_COMMON_LINUX_EXEC_H */ +#endif /* !_LINUX_EXEC_H */ |
