define EXEC_AOUT (if not defined) before including linux_syscallargs.h,

to get linux_sys_uselib() prototype
This commit is contained in:
jdolecek 2000-12-12 17:52:56 +00:00
parent 0e5af5b3d1
commit f8d1770316
1 changed files with 6 additions and 1 deletions

View File

@ -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>