From f8d1770316295b6f9bd7975bf86acb802c5ecd1b Mon Sep 17 00:00:00 2001 From: jdolecek Date: Tue, 12 Dec 2000 17:52:56 +0000 Subject: [PATCH] define EXEC_AOUT (if not defined) before including linux_syscallargs.h, to get linux_sys_uselib() prototype --- sys/compat/linux/common/linux_uselib.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/compat/linux/common/linux_uselib.c b/sys/compat/linux/common/linux_uselib.c index a1a08a36cbe0..3686a6050e16 100644 --- a/sys/compat/linux/common/linux_uselib.c +++ b/sys/compat/linux/common/linux_uselib.c @@ -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 #include +#ifndef EXEC_AOUT +/* define EXEC_AOUT to get prototype from linux_syscall.h */ +#define EXEC_AOUT +#endif + #include #include