$NetBSD: patch-src_util_libsync.h,v 1.1 2022/03/13 15:52:50 tnn Exp $ sys/ioccom.h for _IOWR --- src/util/libsync.h.orig 2022-01-12 21:32:28.000000000 +0000 +++ src/util/libsync.h @@ -34,6 +34,9 @@ #include #include #include +#ifdef __sun__ +#include +#endif #include #include