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

14 lines
232 B
Diff

--- src/process/sysdep_LINUX.c.orig
+++ 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