bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 01/23] hurd: Add some missing includes


From: Samuel Thibault
Subject: Re: [PATCH 01/23] hurd: Add some missing includes
Date: Wed, 3 Jan 2024 22:00:08 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied the rest, thanks!

Sergey Bugaev, le mer. 03 janv. 2024 20:14:34 +0300, a ecrit:
> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> ---
>  hurd/hurdsig.c                     | 2 +-
>  mach/lowlevellock.h                | 1 +
>  sysdeps/hurd/include/hurd.h        | 1 +
>  sysdeps/hurd/include/hurd/signal.h | 1 +
>  sysdeps/mach/hurd/mig-reply.c      | 1 +
>  5 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
> index 3deb94f9..fe788193 100644
> --- a/hurd/hurdsig.c
> +++ b/hurd/hurdsig.c
> @@ -15,6 +15,7 @@
>     License along with the GNU C Library; if not, see
>     <https://www.gnu.org/licenses/>.  */
>  
> +#include <assert.h>
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <string.h>
> @@ -260,7 +261,6 @@ _hurd_sigstate_actions (struct hurd_sigstate *ss)
>  #include <hurd/msg_server.h>
>  #include <hurd/msg_reply.h>  /* For __msg_sig_post_reply.  */
>  #include <hurd/interrupt.h>
> -#include <assert.h>
>  #include <unistd.h>
>  
>  
> diff --git a/mach/lowlevellock.h b/mach/lowlevellock.h
> index 129a7bd9..c5bb0879 100644
> --- a/mach/lowlevellock.h
> +++ b/mach/lowlevellock.h
> @@ -19,6 +19,7 @@
>  #ifndef _MACH_LOWLEVELLOCK_H
>  #define _MACH_LOWLEVELLOCK_H   1
>  
> +#include <mach.h>
>  #include <mach/gnumach.h>
>  #include <atomic.h>
>  
> diff --git a/sysdeps/hurd/include/hurd.h b/sysdeps/hurd/include/hurd.h
> index 568092d6..189fd44e 100644
> --- a/sysdeps/hurd/include/hurd.h
> +++ b/sysdeps/hurd/include/hurd.h
> @@ -1,4 +1,5 @@
>  #ifndef      _HURD_H
> +#include <tls.h>
>  #include_next <hurd.h>
>  
>  void _hurd_libc_proc_init (char **argv);
> diff --git a/sysdeps/hurd/include/hurd/signal.h 
> b/sysdeps/hurd/include/hurd/signal.h
> index 1dc8a1f3..9b1bf3df 100644
> --- a/sysdeps/hurd/include/hurd/signal.h
> +++ b/sysdeps/hurd/include/hurd/signal.h
> @@ -6,6 +6,7 @@ extern struct hurd_sigstate *_hurd_self_sigstate (void) 
> __attribute__ ((__const_
>  libc_hidden_proto (_hurd_self_sigstate)
>  #endif
>  
> +#include <tls.h>
>  #include_next <hurd/signal.h>
>  
>  #ifndef _ISOMAC
> diff --git a/sysdeps/mach/hurd/mig-reply.c b/sysdeps/mach/hurd/mig-reply.c
> index 57bcd808..85c3af13 100644
> --- a/sysdeps/mach/hurd/mig-reply.c
> +++ b/sysdeps/mach/hurd/mig-reply.c
> @@ -15,6 +15,7 @@
>     License along with the GNU C Library; if not, see
>     <https://www.gnu.org/licenses/>.  */
>  
> +#include <assert.h>
>  #include <mach.h>
>  #include <mach/mig_support.h>
>  #include <tls.h>
> -- 
> 2.43.0
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

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