bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH unionfs 2/3] Add some missing includes


From: Samuel Thibault
Subject: Re: [PATCH unionfs 2/3] Add some missing includes
Date: Mon, 26 Apr 2021 20:13:58 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Sergey Bugaev, le lun. 26 avril 2021 20:08:19 +0300, a ecrit:
> This fixes multiple build errors.

Applied, thanks!

> ---
>  lib.c    | 1 +
>  lib.h    | 1 +
>  lnode.c  | 1 +
>  lnode.h  | 1 +
>  node.c   | 1 +
>  stow.c   | 2 ++
>  ulfs.c   | 1 +
>  update.c | 1 +
>  8 files changed, 9 insertions(+)
> 
> diff --git a/lib.c b/lib.c
> index e7f3aa9..01cdbd0 100644
> --- a/lib.c
> +++ b/lib.c
> @@ -23,6 +23,7 @@
>  #include <errno.h>
>  #include <sys/mman.h>
>  #include <stddef.h>
> +#include <stdlib.h>
>  #include <string.h>
>  
>  #include "lib.h"
> diff --git a/lib.h b/lib.h
> index 095adaa..da01f4a 100644
> --- a/lib.h
> +++ b/lib.h
> @@ -23,6 +23,7 @@
>  #include <hurd.h>
>  #include <dirent.h>
>  #include <stddef.h>
> +#include <stdio.h>
>  
>  /* Returned directory entries are aligned to blocks this many bytes
>     long.  Must be a power of two.  */
> diff --git a/lnode.c b/lnode.c
> index 427bc3c..4287489 100644
> --- a/lnode.c
> +++ b/lnode.c
> @@ -21,6 +21,7 @@
>     nodes.  */
>  
>  #include <pthread.h>
> +#include <assert.h>
>  #include <error.h>
>  #include <stdlib.h>
>  #include <string.h>
> diff --git a/lnode.h b/lnode.h
> index f5a50f7..0df3047 100644
> --- a/lnode.h
> +++ b/lnode.h
> @@ -24,6 +24,7 @@
>  
>  #include <pthread.h>
>  #include <error.h>
> +#include <hurd.h>
>  
>  struct lnode
>  {
> diff --git a/node.c b/node.c
> index 19228f6..78b5eb8 100644
> --- a/node.c
> +++ b/node.c
> @@ -19,6 +19,7 @@
>  
>  /* node management.  */
>  
> +#include <assert.h>
>  #include <hurd/netfs.h>
>  #include <stdlib.h>
>  #include <error.h>
> diff --git a/stow.c b/stow.c
> index a04ffdf..812d33b 100644
> --- a/stow.c
> +++ b/stow.c
> @@ -21,7 +21,9 @@
>  /* Stow mode for unionfs.  */
>  
>  #include <argp.h>
> +#include <assert.h>
>  #include <error.h>
> +#include <stdlib.h>
>  
>  #include "ulfs.h"
>  #include "lib.h"
> diff --git a/ulfs.c b/ulfs.c
> index 50affa6..773ebc4 100644
> --- a/ulfs.c
> +++ b/ulfs.c
> @@ -19,6 +19,7 @@
>  
>  /* Underlying filesystem management.  */
>  
> +#include <assert.h>
>  #include <stdlib.h>
>  #include <error.h>
>  #include <string.h>
> diff --git a/update.c b/update.c
> index 113b25c..f416d5e 100644
> --- a/update.c
> +++ b/update.c
> @@ -21,6 +21,7 @@
>     root node update.  */
>  
>  #include <errno.h>
> +#include <stdio.h>
>  #include <string.h>
>  
>  #include "ncache.h"
> -- 
> 2.31.1
> 
> 

-- 
Samuel
<c> ya(ka|ma|to)* ca existe une fois sur 2 au japon, c'est facile ;-)
 -+- #ens-mim au japon -+-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]