diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-07-24 17:09:26 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-07-24 17:09:26 +0200 |
commit | e6e7a249c5c70187144dd9cd3767801ed05a1763 (patch) | |
tree | e7e7f778148be3bbec2b3cc47ec718f3d0969cc4 /util | |
parent | 19accdfbda12d04fe2175ad1d7baf90e841af373 (diff) |
libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pc
add AC_SYS_LARGEFILE to your configure.ac instead.
Diffstat (limited to 'util')
-rw-r--r-- | util/Makefile.am | 3 | ||||
-rw-r--r-- | util/mount.fuse.c | 2 | ||||
-rw-r--r-- | util/ulockmgr_server.c | 1 |
3 files changed, 4 insertions, 2 deletions
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 <config.h> + #include <stdio.h> #include <stdlib.h> #include <string.h> 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 <config.h> #include <stdio.h> #include <stdlib.h> |