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

14 lines
231 B
Diff

--- a/src/process/sysdep_LINUX.c
+++ b/src/process/sysdep_LINUX.c
@@ -71,6 +71,10 @@
#include <glob.h>
#endif
+#ifndef GLOB_ONLYDIR
+#define GLOB_ONLYDIR 0
+#endif
+
#ifdef HAVE_SYS_SYSINFO_H
#include <sys/sysinfo.h>
#endif