From b194db935565d58392c21906419cbd99a5ecc0c3 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 24 Nov 2021 10:37:48 -0700 Subject: [PATCH] sys/acct.h: Add sys/types.h include There's no harm in including sys/types.h here and acct.h needs it. This file isn't defined by any standard, so what we do here wrt namespaces likely doesn't matter. If it does, it will be easy enough to add the necessary __BSD_VISIBLE guards in the future. Sponsored by: Netflix --- sys/sys/acct.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/acct.h b/sys/sys/acct.h index 36c6a5e23d06..7f61f3f4fc10 100644 --- a/sys/sys/acct.h +++ b/sys/sys/acct.h @@ -42,6 +42,8 @@ #ifdef _KERNEL #define float uint32_t +#else +#include #endif #define AC_COMM_LEN 16