void-packages/srcpkgs/monit/patches/musl-fix.patch

14 lines
225 B
Diff

--- src/process/sysdep_LINUX.c.orig
+++ src/process/sysdep_LINUX.c
@@ -79,6 +79,10 @@
#include <glob.h>
#endif
+#ifndef GLOB_ONLYDIR
+#define GLOB_ONLYDIR 0
+#endif
+
#ifndef HZ
# define HZ sysconf(_SC_CLK_TCK)
#endif