aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-01-03 20:14:34 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-01-03 21:59:54 +0100
commitdac7c6406582e36d38bc94794c15d581e3c6ebda (patch)
tree7c04d2d67efd3190e41941f747ee5f5858df80c8
parentb31a01909cfe24adc53e96b418612ae617ef72ab (diff)
downloadglibc-dac7c6406582e36d38bc94794c15d581e3c6ebda.tar
glibc-dac7c6406582e36d38bc94794c15d581e3c6ebda.tar.gz
glibc-dac7c6406582e36d38bc94794c15d581e3c6ebda.tar.bz2
glibc-dac7c6406582e36d38bc94794c15d581e3c6ebda.zip
hurd: Add some missing includes
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
-rw-r--r--hurd/hurdsig.c2
-rw-r--r--mach/lowlevellock.h1
-rw-r--r--sysdeps/mach/hurd/mig-reply.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 3deb94f9e4..fe78819302 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 129a7bd91f..c5bb08795b 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/mach/hurd/mig-reply.c b/sysdeps/mach/hurd/mig-reply.c
index 57bcd80862..85c3af1333 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>