Commit Diff


commit - 293e816c7eba029afd98c5917c0f0face07688a3
commit + 0ada29ea383be37810b75fb0c6607cdc6c994f46
blob - de3e23a73dd41a772812c83e1071f04ecad9ee99
blob + 00ff0557b78accc0a89e30baae9765d4aea529fa
--- include/got_compat.h
+++ include/got_compat.h
@@ -56,6 +56,11 @@
 #include <sys/file.h>
 #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