Subject: build of alpha (cross from amd64) fails in GENERIC/netbsd32_compat_43.o this time
To: None <current-users@netbsd.org, port-alpha@netbsd.org>
From: Rhialto <rhialto@falu.nl>
List: port-alpha
Date: 09/24/2005 18:49:23
Yet another case of missing #include <sys/socket.h>, this time in
src/sys/compat/netbsd32/netbsd32_compat_43.c.
I suppose I did not see this with amd64 and i386 because one is 64 bits
but needs no 32 bit compat code, and the other is 32 bits by itself.

Patch:

Index: netbsd32_compat_43.c
===================================================================
RCS file: /cvsroot/src/sys/compat/netbsd32/netbsd32_compat_43.c,v
retrieving revision 1.31
diff -u -r1.31 netbsd32_compat_43.c
--- netbsd32_compat_43.c	13 Sep 2005 03:23:09 -0000	1.31
+++ netbsd32_compat_43.c	24 Sep 2005 16:47:56 -0000
@@ -49,6 +49,7 @@
 #include <uvm/uvm_extern.h>
 #include <sys/sysctl.h>
 #include <sys/swap.h>
+#include <sys/socket.h>
 
 #include <compat/netbsd32/netbsd32.h>
 #include <compat/netbsd32/netbsd32_syscallargs.h>

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.