summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/testfstatvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/testfstatvfs.c')
-rw-r--r--examples/libsmbclient/testfstatvfs.c2
1 files changed, 2 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);