void-packages/srcpkgs/rsyslog/patches/musl-glob.patch

13 lines
372 B
Diff

--- plugins/imfile/imfile.c.orig 2016-11-15 17:31:37.446892834 +0000
+++ plugins/imfile/imfile.c 2016-11-15 17:34:49.629902749 +0000
@@ -34,6 +34,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <glob.h>
+#if !defined(GLOB_BRACE)
+#define GLOB_BRACE 0 /* no GLOB_BRACE in musl libc */
+#endif
#include <poll.h>
#include <fnmatch.h>
#ifdef HAVE_SYS_INOTIFY_H