summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-01 19:48:35 +0000
committerobrien <obrien@FreeBSD.org>2000-11-01 19:48:35 +0000
commitc4a9f49ba81d429e0feff56ed0c369ee75bab7b1 (patch)
treed039f70072813e8e96b52f7181c2fac067d06538 /sys/compat/linux/linux_socket.c
parent3b7fec2c029d84c4e95227989dcc1ab64814798e (diff)
downloadFreeBSD-src-c4a9f49ba81d429e0feff56ed0c369ee75bab7b1.zip
FreeBSD-src-c4a9f49ba81d429e0feff56ed0c369ee75bab7b1.tar.gz
The MI/MD split wasn't perfect and the MI files need hacks for the
AlphaLinux compat bits. This will be better cleaned up soon. Agreed to what ever was necessary by: marcel
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-rw-r--r--sys/compat/linux/linux_socket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index b7c9b7d..2fdd3df 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -48,9 +48,14 @@
#include <netinet/ip.h>
#include <machine/../linux/linux.h>
+#ifdef __alpha__
+#include <linux_proto.h>
+#else
#include <machine/../linux/linux_proto.h>
+#endif
#include <compat/linux/linux_util.h>
+#ifndef __alpha__
static int
linux_to_bsd_domain(int domain)
{
@@ -902,3 +907,4 @@ linux_socketcall(struct proc *p, struct linux_socketcall_args *args)
uprintf("LINUX: 'socket' typ=%d not implemented\n", args->what);
return (ENOSYS);
}
+#endif /*!__alpha__*/
OpenPOWER on IntegriCloud