commit 0ada29ea383be37810b75fb0c6607cdc6c994f46 from: Thomas Adam date: Thu Jul 14 23:14:01 2022 UTC portable: provide WAIT_ANY implementation On POSIX systems, WAIT_ANY needs an implementation. commit - 293e816c7eba029afd98c5917c0f0face07688a3 commit + 0ada29ea383be37810b75fb0c6607cdc6c994f46 blob - de3e23a73dd41a772812c83e1071f04ecad9ee99 blob + 00ff0557b78accc0a89e30baae9765d4aea529fa --- include/got_compat.h +++ include/got_compat.h @@ -56,6 +56,11 @@ #include #endif +/* POSIX doesn't define WAIT_ANY, so provide it if it's not found. */ +#ifndef WAIT_ANY +#define WAIT_ANY (-1) +#endif + #ifndef __dead #define __dead __attribute__ ((__noreturn__)) #endif