1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 03:43:53 +02:00
openwrt-packages/mail/fdm/patches/020-musl_GLOB_BRACE.patch
Dirk Neukirchen 65f803ee20 fdm: fix musl compile
musl does not define some macros so define them ourselves

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-08-19 11:37:16 +02:00

23 lines
539 B
Diff

--- a/fetch-maildir.c
+++ b/fetch-maildir.c
@@ -31,6 +31,8 @@
#include "fdm.h"
#include "fetch.h"
+#define GLOB_BRACE 0
+
int fetch_maildir_commit(struct account *, struct mail *);
void fetch_maildir_abort(struct account *);
u_int fetch_maildir_total(struct account *);
--- a/fetch-mbox.c
+++ b/fetch-mbox.c
@@ -32,6 +32,8 @@
#include "fdm.h"
#include "fetch.h"
+#define GLOB_BRACE 0
+
int fetch_mbox_commit(struct account *, struct mail *);
void fetch_mbox_abort(struct account *);
u_int fetch_mbox_total(struct account *);