diff options
author | Christian Ambach <ambi@samba.org> | 2012-11-20 09:50:15 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-11-20 16:06:59 +0100 |
commit | f0c8c8518b2f25eb9e666229c37e191fa1700d0d (patch) | |
tree | 1d21b71f4f0fffe8b54d7c3eaca43a3718b6b7b7 /examples | |
parent | 1fb8f8c5046cd7d0638be0d8a4b9a0e9a5799f6b (diff) | |
download | samba-f0c8c8518b2f25eb9e666229c37e191fa1700d0d.tar.gz samba-f0c8c8518b2f25eb9e666229c37e191fa1700d0d.tar.xz samba-f0c8c8518b2f25eb9e666229c37e191fa1700d0d.zip |
examples: fix build on AIX6
Signed-off-by: Christian Ambach <ambi@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Nov 20 16:06:59 CET 2012 on sn-devel-104
Diffstat (limited to 'examples')
-rw-r--r-- | examples/libsmbclient/testfstatvfs.c | 2 | ||||
-rw-r--r-- | examples/libsmbclient/teststatvfs.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/libsmbclient/testfstatvfs.c b/examples/libsmbclient/testfstatvfs.c index 24424045d4..512563f3e6 100644 --- a/examples/libsmbclient/testfstatvfs.c +++ b/examples/libsmbclient/testfstatvfs.c @@ -86,8 +86,10 @@ int main(int argc, char * argv[]) (unsigned long long) statvfsbuf.f_ffree); printf("Available Files: %llu\n", (unsigned long long) statvfsbuf.f_favail); +#ifdef HAVE_FSID_INT printf("File System ID: %lu\n", (unsigned long) statvfsbuf.f_fsid); +#endif printf("\n"); printf("Flags: 0x%lx\n", statvfsbuf.f_flag); diff --git a/examples/libsmbclient/teststatvfs.c b/examples/libsmbclient/teststatvfs.c index 5c69122afc..2f656d5e64 100644 --- a/examples/libsmbclient/teststatvfs.c +++ b/examples/libsmbclient/teststatvfs.c @@ -58,8 +58,10 @@ int main(int argc, char * argv[]) (unsigned long long) statvfsbuf.f_ffree); printf("Available Files: %llu\n", (unsigned long long) statvfsbuf.f_favail); +#ifdef HAVE_FSID_INT printf("File System ID: %lu\n", (unsigned long) statvfsbuf.f_fsid); +#endif printf("\n"); printf("Flags: 0x%lx\n", statvfsbuf.f_flag); |