[PATCH] misc.h: add stdio.h include

Damien Miller djm at mindrot.org
Wed Mar 3 19:43:10 AEDT 2021


done - thanks

On Wed, 3 Mar 2021, Mike Frysinger wrote:

> This file uses FILE* but doesn't include stdio.h, so it fails to build
> on platforms that don't happen to include that header via other includes
> in here (e.g. building for WASM).
> ---
>  misc.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/misc.h b/misc.h
> index 2de7eb5bfae2..0d04239e13d2 100644
> --- a/misc.h
> +++ b/misc.h
> @@ -15,6 +15,7 @@
>  #ifndef _MISC_H
>  #define _MISC_H
>  
> +#include <stdio.h>
>  #include <sys/time.h>
>  #include <sys/types.h>
>  #include <sys/socket.h>
> -- 
> 2.30.0
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> 


More information about the openssh-unix-dev mailing list