From ee0c5b44def8a80be34fd2e5867cafdcc76275b6 Mon Sep 17 00:00:00 2001 From: manu Date: Thu, 9 Feb 2006 19:18:56 +0000 Subject: Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so that the i386 license manager part of amd64 version of Fluent works. While I'm here, add SysV IPC to COMPAT_LINUX/amd64 --- sys/compat/linux/common/linux_socket.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/compat/linux/common/linux_socket.c') diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index 9b7cb9d67d4..02c70d9cabe 100644 --- a/sys/compat/linux/common/linux_socket.c +++ b/sys/compat/linux/common/linux_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.c,v 1.58 2005/12/11 12:20:19 christos Exp $ */ +/* $NetBSD: linux_socket.c,v 1.59 2006/02/09 19:18:56 manu Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.58 2005/12/11 12:20:19 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.59 2006/02/09 19:18:56 manu Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -90,7 +90,9 @@ __KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.58 2005/12/11 12:20:19 christos E #include #include #include +#if !defined(__alpha__) && !defined(__amd64__) #include +#endif #include #include @@ -1672,7 +1674,7 @@ linux_sys_send(l, v, retval) return (sys_sendto(l, &bsa, retval)); } -#endif /* __amd64__ */ +#endif int linux_sys_accept(l, v, retval) -- cgit