Module Name:    src
Committed By:   matt
Date:           Thu Aug 13 03:56:32 UTC 2009

Modified Files:
        src/sys/compat/linux/arch/mips: linux_exec.h

Log Message:
Don't include EXEC_AOUT stuff by default.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/arch/mips/linux_exec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/mips/linux_exec.h
diff -u src/sys/compat/linux/arch/mips/linux_exec.h:1.13 src/sys/compat/linux/arch/mips/linux_exec.h:1.14
--- src/sys/compat/linux/arch/mips/linux_exec.h:1.13	Mon Apr 28 20:23:43 2008
+++ src/sys/compat/linux/arch/mips/linux_exec.h	Thu Aug 13 03:56:32 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_exec.h,v 1.13 2008/04/28 20:23:43 martin Exp $ */
+/*	$NetBSD: linux_exec.h,v 1.14 2009/08/13 03:56:32 matt Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -32,7 +32,9 @@
 #ifndef _MIPS_LINUX_EXEC_H
 #define _MIPS_LINUX_EXEC_H
 
+#ifdef EXEC_AOUT
 #include <sys/exec_aout.h>
+#endif
 #include <sys/exec_elf.h>
 #include <sys/types.h>
 
@@ -41,11 +43,13 @@
  */
 #define LINUX_ELF_HWCAP (0)
 
+#ifdef EXEC_AOUT
 /*
  * Linux a.out format parameters
  */
 #define LINUX_M_MIPS		MID_MIPS
 #define LINUX_MID_MACHINE	LINUX_M_MIPS
+#endif
 
 /*
  * Linux Elf32 format parameters

Reply via email to