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 /example | |
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 'example')
-rw-r--r-- | example/Makefile.am | 2 | ||||
-rwxr-xr-x | example/cusexmp.c | 2 | ||||
-rwxr-xr-x | example/fioc.c | 2 | ||||
-rwxr-xr-x | example/fioclient.c | 1 | ||||
-rwxr-xr-x | example/fsel.c | 2 | ||||
-rwxr-xr-x | example/fselclient.c | 1 | ||||
-rwxr-xr-x | example/hello.c | 2 | ||||
-rwxr-xr-x | example/hello_ll.c | 2 | ||||
-rwxr-xr-x | example/null.c | 2 |
9 files changed, 15 insertions, 1 deletions
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 <config.h> + #include <cuse_lowlevel.h> #include <fuse_opt.h> #include <stddef.h> 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 <config.h> + #include <fuse.h> #include <stdlib.h> #include <stdio.h> 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 <config.h> #include <sys/types.h> #include <sys/fcntl.h> 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 <config.h> + #include <fuse.h> #include <unistd.h> #include <ctype.h> 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 <config.h> #include <sys/select.h> #include <sys/time.h> 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 <config.h> + #include <fuse.h> #include <stdio.h> #include <string.h> 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 <config.h> + #include <fuse_lowlevel.h> #include <stdio.h> #include <stdlib.h> 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 <config.h> + #include <fuse.h> #include <string.h> #include <unistd.h> |