head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.04.20.03.49.24; author js; state Exp; branches; next ; commitid CniW0JT42xqHiECG; desc @@ 1.1 log @Make cross/arm-none-eabi-gcc compile on Fedora 44 @ text @$NetBSD: patch-libiberty_pex-unix.c,v 1.1 2025/06/15 13:19:52 js Exp $ --- libiberty/pex-unix.c.orig 2025-06-15 13:09:05.276043172 +0000 +++ libiberty/pex-unix.c @@@@ -42,9 +42,7 @@@@ extern int errno; #include -#ifdef HAVE_FCNTL_H #include -#endif #ifdef HAVE_SYS_WAIT_H #include #endif @@@@ -58,7 +56,7 @@@@ extern int errno; #ifdef HAVE_PROCESS_H #include #endif -#ifdef HAVE_SPAWN_H +#if defined(HAVE_SPAWN_H) || defined(__linux__) #include #endif @