unison: unbreak musl

This commit is contained in:
Duncaen 2016-07-17 17:08:11 +02:00
parent 8cb134045f
commit 861ddac5f6
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- fsmonitor/linux/inotify_stubs.c
+++ fsmonitor/linux/inotify_stubs.c
@@ -35,7 +35,7 @@
#define GLIBC_SUPPORT_INOTIFY 0
#endif
-#if GLIBC_SUPPORT_INOTIFY
+#if GLIBC_SUPPORT_INOTIFY || (!defined(__GLIBC__) && defined(__linux))
#include <sys/inotify.h>
#else
#include "inotify_compat.h"

View file

@ -1,7 +1,7 @@
# Template file for 'unison'
pkgname="unison"
version=2.48.4
revision=1
revision=2
short_desc="A file-synchronization tool"
maintainer="allan <mail@may.mooo.com>"
license="GPL-3"