$NetBSD: patch-src_pty.cc,v 1.13 2024/01/07 02:14:16 gutteridge Exp $ Use correct includes on SunOS. --- src/pty.cc.orig 2024-01-06 16:00:59.800608016 +0000 +++ src/pty.cc @@ -57,7 +57,9 @@ #if __has_include() #include #endif -#if defined(__sun) && __has_include() +#if defined(__sun) +#include +#include #include #define HAVE_STROPTS_H #endif