From: bluhm Date: Sun, 20 Mar 2022 19:16:29 +0000 (+0000) Subject: Include sys/mutex.h from netinet/in_pcb.h. Struct mutex will be X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0e833424ec627a83abaa92f524b398b9f8eaacae;p=openbsd Include sys/mutex.h from netinet/in_pcb.h. Struct mutex will be needed to make inpcb in kernel MP safe. To build sysctl and libkvm based programs, we have to export it to userland. OK claudio@ --- diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 1f72d73c030..35c7d9e525c 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.h,v 1.125 2022/03/14 22:38:43 tb Exp $ */ +/* $OpenBSD: in_pcb.h,v 1.126 2022/03/20 19:16:29 bluhm Exp $ */ /* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */ /* @@ -65,6 +65,7 @@ #define _NETINET_IN_PCB_H_ #include +#include #include #include #include