diff --git a/srcpkgs/monit/patches/musl-fix.patch b/srcpkgs/monit/patches/musl-fix.patch new file mode 100644 index 00000000000..ee1d2b9828d --- /dev/null +++ b/srcpkgs/monit/patches/musl-fix.patch @@ -0,0 +1,13 @@ +--- src/process/sysdep_LINUX.c.orig ++++ src/process/sysdep_LINUX.c +@@ -79,6 +79,10 @@ + #include + #endif + ++#ifndef GLOB_ONLYDIR ++#define GLOB_ONLYDIR 0 ++#endif ++ + #ifndef HZ + # define HZ sysconf(_SC_CLK_TCK) + #endif