fdm: fix musl compile

musl does not define some macros so define them ourselves

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
This commit is contained in:
Dirk Neukirchen
2015-08-13 18:43:13 +02:00
parent ad39db848e
commit 65f803ee20
3 changed files with 46 additions and 0 deletions
+13
View File
@@ -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>