Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common define EXEC_AOUT (if not defined) be...
details: https://anonhg.NetBSD.org/src/rev/0912755ec2e6
branches: trunk
changeset: 500474:0912755ec2e6
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Dec 12 17:52:56 2000 +0000
description:
define EXEC_AOUT (if not defined) before including linux_syscallargs.h,
to get linux_sys_uselib() prototype
diffstat:
sys/compat/linux/common/linux_uselib.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r f6e5a563a6ec -r 0912755ec2e6 sys/compat/linux/common/linux_uselib.c
--- a/sys/compat/linux/common/linux_uselib.c Tue Dec 12 17:51:03 2000 +0000
+++ b/sys/compat/linux/common/linux_uselib.c Tue Dec 12 17:52:56 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_uselib.c,v 1.1 2000/12/01 13:49:35 jdolecek Exp $ */
+/* $NetBSD: linux_uselib.c,v 1.2 2000/12/12 17:52:56 jdolecek Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -59,6 +59,11 @@
#include <compat/linux/common/linux_exec.h>
#include <compat/linux/common/linux_machdep.h>
+#ifndef EXEC_AOUT
+/* define EXEC_AOUT to get prototype from linux_syscall.h */
+#define EXEC_AOUT
+#endif
+
#include <compat/linux/linux_syscallargs.h>
#include <compat/linux/linux_syscall.h>
Home |
Main Index |
Thread Index |
Old Index