Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 If compiling as part of a built-in kerne...



details:   https://anonhg.NetBSD.org/src/rev/0efc3ec13c0a
branches:  trunk
changeset: 342034:0efc3ec13c0a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Dec 03 11:28:35 2015 +0000

description:
If compiling as part of a built-in kernel module, make sure we include
the relevant opt_sysv.h file

diffstat:

 sys/compat/netbsd32/netbsd32_compat_14.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 7a799648f8b8 -r 0efc3ec13c0a sys/compat/netbsd32/netbsd32_compat_14.c
--- a/sys/compat/netbsd32/netbsd32_compat_14.c  Thu Dec 03 11:25:45 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_14.c  Thu Dec 03 11:28:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_compat_14.c,v 1.23 2015/12/03 11:25:45 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_compat_14.c,v 1.24 2015/12/03 11:28:35 pgoyette Exp $ */
 
 /*
  * Copyright (c) 1999 Eduardo E. Horvath
@@ -29,7 +29,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_14.c,v 1.23 2015/12/03 11:25:45 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_14.c,v 1.24 2015/12/03 11:28:35 pgoyette Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_sysv.h"
+#include "opt_compat_netbsd.h"
+#endif
 
 #ifdef _KERNEL_OPT
 #include "opt_sysv.h"



Home | Main Index | Thread Index | Old Index