hurd: Add some missing includes
authorSergey Bugaev <bugaevc@gmail.com>
Wed, 3 Jan 2024 17:14:34 +0000 (20:14 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 3 Jan 2024 20:59:54 +0000 (21:59 +0100)
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
hurd/hurdsig.c
mach/lowlevellock.h
sysdeps/mach/hurd/mig-reply.c

index 3deb94f9e4ba82c8c9cb864f7a8b90a8ce60b3e3..fe788193022d8ecddfae3391c43cb4c394799ab5 100644 (file)
@@ -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>
 
 
index 129a7bd91ffb10cd2bccbf01c3d2ed21fd26c0a8..c5bb08795bf531b542bb3f1366e0dd96ac4bfa41 100644 (file)
@@ -19,6 +19,7 @@
 #ifndef _MACH_LOWLEVELLOCK_H
 #define _MACH_LOWLEVELLOCK_H   1
 
+#include <mach.h>
 #include <mach/gnumach.h>
 #include <atomic.h>
 
index 57bcd80862570d08eb52ddff973625cf2bc3f816..85c3af1333af8f5bebb17b737c80f1acb7d26b1f 100644 (file)
@@ -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>