summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_exec.c
diff options
context:
space:
mode:
authormanu <manu@NetBSD.org>2005-11-05 07:26:45 +0000
committermanu <manu@NetBSD.org>2005-11-05 07:26:45 +0000
commit67fcd6abf58f2f65b9d0b36744f418ad1e225dfd (patch)
tree742133ccc0a0f207316ff5b01ea2b83501331621 /sys/compat/linux/common/linux_exec.c
parent2cac35470c2e7d6156845e9a9754a8897a214d08 (diff)
Fix build when LINUX_NPTL is not defined
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
-rw-r--r--sys/compat/linux/common/linux_exec.c6
1 files changed, 4 insertions, 2 deletions
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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -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