ion of buffers */ -#ifdef _KERNEL struct domain *pffinddomain(int family); struct protosw *pffindproto(int family, int type, int proto); int protosw_register(struct domain *, struct protosw *); @@ -177,5 +172,4 @@ int protosw_unregister(struct protosw *); extern struct domain inetdomain; extern struct domain inet6domain; #endif - #endif diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 5a5610ccb6c0..6065a2a7644c 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -30,6 +30,7 @@ #include #include #include +#define _WANT_PROTOSW #include #include #define _WANT_SOCKET