From 67fcd6abf58f2f65b9d0b36744f418ad1e225dfd Mon Sep 17 00:00:00 2001 From: manu Date: Sat, 5 Nov 2005 07:26:45 +0000 Subject: Fix build when LINUX_NPTL is not defined --- sys/compat/linux/common/linux_exec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/common/linux_exec.c') diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c index 092d3c06475..3767ec01604 100644 --- a/sys/compat/linux/common/linux_exec.c +++ b/sys/compat/linux/common/linux_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.c,v 1.79 2005/11/05 00:47:26 manu Exp $ */ +/* $NetBSD: linux_exec.c,v 1.80 2005/11/05 07:26:45 manu Exp $ */ /*- * Copyright (c) 1994, 1995, 1998, 2000 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.79 2005/11/05 00:47:26 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.80 2005/11/05 07:26:45 manu Exp $"); #include #include @@ -307,7 +307,9 @@ linux_e_proc_fork(p, parent, forkflags) struct proc *p, *parent; int forkflags; { +#ifdef LINUX_NPTL struct linux_emuldata *e; +#endif /* * The new process might share some vmspace-related stuff -- cgit