From: Sam James Date: Sun, 6 Nov 2022 04:47:35 +0000 (+0000) Subject: configure.ac: Add include for openpty X-Git-Tag: V_9_2_P1~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40b0a5eb6e3edfa2886b60c09c7803353b0cc7f5;p=thirdparty%2Fopenssh-portable.git 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 1e77ecfc3..1866aea53 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