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. --- example/Makefile.am | 2 +- example/cusexmp.c | 2 ++ example/fioc.c | 2 ++ example/fioclient.c | 1 + example/fsel.c | 2 ++ example/fselclient.c | 1 + example/hello.c | 2 ++ example/hello_ll.c | 2 ++ example/null.c | 2 ++ 9 files changed, 15 insertions(+), 1 deletion(-) (limited to 'example') diff --git a/example/Makefile.am b/example/Makefile.am index 1c04057..26c3976 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -AM_CPPFLAGS = -I$(top_srcdir)/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT +AM_CPPFLAGS = -I$(top_srcdir)/include -D_REENTRANT noinst_HEADERS = fioc.h noinst_PROGRAMS = fusexmp fusexmp_fh null hello hello_ll fioc fioclient \ fsel fselclient cusexmp diff --git a/example/cusexmp.c b/example/cusexmp.c index a02818c..73b12f4 100755 --- a/example/cusexmp.c +++ b/example/cusexmp.c @@ -24,6 +24,8 @@ #define FUSE_USE_VERSION 30 +#include + #include #include #include diff --git a/example/fioc.c b/example/fioc.c index c79c734..b4cc334 100755 --- a/example/fioc.c +++ b/example/fioc.c @@ -24,6 +24,8 @@ #define FUSE_USE_VERSION 30 +#include + #include #include #include diff --git a/example/fioclient.c b/example/fioclient.c index 9718622..a7c0dbe 100755 --- a/example/fioclient.c +++ b/example/fioclient.c @@ -21,6 +21,7 @@ * \include fioclient.c */ +#include #include #include diff --git a/example/fsel.c b/example/fsel.c index 3c52033..657111e 100755 --- a/example/fsel.c +++ b/example/fsel.c @@ -24,6 +24,8 @@ #define FUSE_USE_VERSION 30 +#include + #include #include #include diff --git a/example/fselclient.c b/example/fselclient.c index 2e2e571..ac8b7b0 100755 --- a/example/fselclient.c +++ b/example/fselclient.c @@ -21,6 +21,7 @@ * \include fselclient.c */ +#include #include #include diff --git a/example/hello.c b/example/hello.c index f678931..20021af 100755 --- a/example/hello.c +++ b/example/hello.c @@ -35,6 +35,8 @@ #define FUSE_USE_VERSION 30 +#include + #include #include #include diff --git a/example/hello_ll.c b/example/hello_ll.c index 151fe8b..27859ce 100755 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -39,6 +39,8 @@ #define FUSE_USE_VERSION 30 +#include + #include #include #include diff --git a/example/null.c b/example/null.c index 3e57dbe..4d39eb8 100755 --- a/example/null.c +++ b/example/null.c @@ -21,6 +21,8 @@ #define FUSE_USE_VERSION 30 +#include + #include #include #include -- cgit v1.2.3