From: Damien Miller Date: Wed, 9 Aug 2023 23:08:49 +0000 (+1000) Subject: wrap poll.h include in HAVE_POLL_H X-Git-Tag: V_9_4_P1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3961ed02dc578517a9d2535128cff5c3a5460d28;p=thirdparty%2Fopenssh-portable.git wrap poll.h include in HAVE_POLL_H --- diff --git a/regress/unittests/misc/test_ptimeout.c b/regress/unittests/misc/test_ptimeout.c index 284f0a1ee..cc58ee854 100644 --- a/regress/unittests/misc/test_ptimeout.c +++ b/regress/unittests/misc/test_ptimeout.c @@ -14,7 +14,9 @@ #endif #include #include -#include +#ifdef HAVE_POLL_H +# include +#endif #include #include "../test_helper/test_helper.h"