$NetBSD: patch-build-aux_yuck.c,v 1.1 2018/09/29 17:18:20 wiedi Exp $ no need for sysctl on SunOS --- build-aux/yuck.c.orig 2018-03-01 09:55:48.000000000 +0000 +++ build-aux/yuck.c @@ -62,7 +62,9 @@ #include #include #include +#if !defined(__sun) #include +#endif #include #if defined WITH_SCMVER # include