fdm: fix musl compile
[feed/packages.git] / mail / fdm / patches / 010-musl_WAIT_ANY.patch
diff --git a/mail/fdm/patches/010-musl_WAIT_ANY.patch b/mail/fdm/patches/010-musl_WAIT_ANY.patch
new file mode 100644 (file)
index 0000000..d37bc7f
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/fdm.c
++++ b/fdm.c
+@@ -22,6 +22,10 @@
+ #include <sys/utsname.h>
+ #include <sys/wait.h>
++#ifndef WAIT_ANY
++#define WAIT_ANY (-1)
++#endif
++
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <fnmatch.h>