summaryrefslogtreecommitdiff
blob: 81265920531ba858492273bd8ffb26ef7ebc092b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://sourceforge.net/tracker/?func=detail&atid=816359&aid=2799820&group_id=160565

--- a/configure.ac	2008-04-23 15:37:42 +0400
+++ b/configure.ac	2009-06-02 09:46:05 +0400
@@ -18,6 +18,11 @@
 	AC_MSG_ERROR(["We need libcurl with support for FTP protocol."])
 fi
 
+case $host_os in
+	darwin*)
+	CFLAGS="$CFLAGS -D__off_t=off_t"
+	;;
+esac
 CFLAGS="$CFLAGS -Wall -W -Wno-sign-compare -D_REENTRANT $GLIB_CFLAGS $FUSE_CFLAGS $LIBCURL_CPPFLAGS"
 LIBS="$GLIB_LIBS $FUSE_LIBS $LIBCURL"