commit 40b0a5eb6e3edfa2886b60c09c7803353b0cc7f5 Author: Sam James Date: Sun Nov 6 04:47:35 2022 +0000 configure.ac: Add include for openpty Another Clang 16ish fix (which makes -Wimplicit-function-declaration an error by default). github PR#355. See: 2efd71da49b9cfeab7987058cf5919e473ff466b See: be197635329feb839865fdc738e34e24afd1fca8 diff --git a/configure.ac b/configure.ac index 1e77ecfc..1866aea5 100644 --- a/configure.ac +++ b/configure.ac @@ -2373,6 +2373,9 @@ if test ! -z "$check_for_openpty_ctty_bug"; then #include #include #include +#ifdef HAVE_PTY_H +# include +#endif #include #include #include