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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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@xxxxxxxxxxx
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> 
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux