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 Another one that needs <sys/exec_aou...



details:   https://anonhg.NetBSD.org/src/rev/ff725b312227
branches:  trunk
changeset: 747027:ff725b312227
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Aug 28 01:39:03 2009 +0000

description:
Another one that needs <sys/exec_aout.h>.

diffstat:

 sys/compat/linux/common/linux_uselib.c |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (50 lines):

diff -r 36a0e436d0ae -r ff725b312227 sys/compat/linux/common/linux_uselib.c
--- a/sys/compat/linux/common/linux_uselib.c    Thu Aug 27 20:52:18 2009 +0000
+++ b/sys/compat/linux/common/linux_uselib.c    Fri Aug 28 01:39:03 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_uselib.c,v 1.29 2009/08/15 23:39:35 matt Exp $   */
+/*     $NetBSD: linux_uselib.c,v 1.30 2009/08/28 01:39:03 dholland Exp $       */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_uselib.c,v 1.29 2009/08/15 23:39:35 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_uselib.c,v 1.30 2009/08/28 01:39:03 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -41,6 +41,7 @@
 #include <sys/vnode.h>
 #include <sys/mount.h>
 #include <sys/exec.h>
+#include <sys/exec_aout.h>
 
 #include <sys/mman.h>
 #include <sys/syscallargs.h>
@@ -48,11 +49,6 @@
 #include <sys/cpu.h>
 #include <machine/reg.h>
 
-#ifndef EXEC_AOUT
-/* define EXEC_AOUT to get prototype from linux_syscall.h */
-#define EXEC_AOUT
-#endif
-
 #include <compat/linux/common/linux_types.h>
 #include <compat/linux/common/linux_signal.h>
 #include <compat/linux/common/linux_util.h>
@@ -61,6 +57,11 @@
 #include <compat/linux/common/linux_ipc.h>
 #include <compat/linux/common/linux_sem.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