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

13 lines
374 B
Diff

--- plugins/imfile/imfile.c 2015-05-19 10:53:40.000000000 +0200
+++ plugins/imfile/imfile.c 2015-06-29 23:11:50.984104193 +0200
@@ -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 <fnmatch.h>
#ifdef HAVE_SYS_INOTIFY_H
#include <sys/inotify.h>