Re: [PATCH gnumach] tests/user-qemu.mk: Add missing include for string.h and sys headers

Damien Zammit <[email protected]> Sun, 21 Jun 2026 00:45:59 +0000
Newsgroups gmane.os.hurd.bugs
Message-ID <[email protected]>
Hi Samuel,

On 20/6/26 11:53 pm, Samuel Thibault wrote:

> Damien Zammit, le sam. 20 juin 2026 02:11:04 +0000, a ecrit:
>
>> This change allows cross compilation of the test suite from a
>> non-x86 GNU/Linux host.
>
> What does this actually fix?
>
> $(MACH_TESTINSTALL) already integrates the headers that gnumach
> installs. What more do tests need that aren't available that way?

Apologies, the missing headers are <string.h> and <sys/types.h>
according to my build log.

Maybe my configuration of the tests build is missing an include path?

I am cross compiling gnumach, and then the test suite from a gnu/linux riscv64 machine.

Thanks,

Damien