From e6e7a249c5c70187144dd9cd3767801ed05a1763 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 24 Jul 2013 17:09:26 +0200 Subject: libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pc add AC_SYS_LARGEFILE to your configure.ac instead. --- util/Makefile.am | 3 +-- util/mount.fuse.c | 2 ++ util/ulockmgr_server.c | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/Makefile.am b/util/Makefile.am index 059d5fc..e77782b 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -1,6 +1,5 @@ ## Process this file with automake to produce Makefile.in -AM_CPPFLAGS = -D_FILE_OFFSET_BITS=64 bin_PROGRAMS = fusermount ulockmgr_server noinst_PROGRAMS = mount.fuse @@ -17,7 +16,7 @@ mount_util.c: $(top_srcdir)/lib/mount_util.c mount_fuse_SOURCES = mount.fuse.c ulockmgr_server_SOURCES = ulockmgr_server.c -ulockmgr_server_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_REENTRANT +ulockmgr_server_CPPFLAGS = -D_REENTRANT ulockmgr_server_LDFLAGS = -pthread install-exec-hook: diff --git a/util/mount.fuse.c b/util/mount.fuse.c index 6df8c03..363b12b 100644 --- a/util/mount.fuse.c +++ b/util/mount.fuse.c @@ -6,6 +6,8 @@ See the file COPYING. */ +#include + #include #include #include diff --git a/util/ulockmgr_server.c b/util/ulockmgr_server.c index baef45d..09972ce 100644 --- a/util/ulockmgr_server.c +++ b/util/ulockmgr_server.c @@ -7,6 +7,7 @@ */ /* #define DEBUG 1 */ +#include #include #include -- cgit v1.2.3