Re: Mach.h header

Sergey Bugaev <[email protected]> Sun, 12 Jul 2026 20:13:12 +0300
Newsgroups gmane.os.hurd.bugs
Message-ID <CAN9u=HcYpxAXUP4x2KvEwB_0JK6Rfb=6aDOwOzxu5wCefycHSw@mail.gmail.com>
On Fri, Jul 10, 2026 at 10:26 PM Umn Was <[email protected]> wrote:
> I can't find the mach.h header in gnumach-dev, i searched in  "/usr/include/x86_64-linux-gnu/mach
> " and couldn't find it even there, does that a bug, or I missed something?

It's normally in /usr/include/mach.h. Clearly, it's not going to be in
a x86_64-linux-gnu subdirectory, if anything, you want x86_64-gnu
(without the Linux part).

On Debian, it's in the libc0.3-dev package. The source file lives in
the glibc source tree and not that of gnumach, as Mikhail points out.

Sergey