1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-25 14:50:24 +03:00

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
This commit is contained in:
Christian Ambach 2012-11-20 09:50:15 +01:00 committed by Volker Lendecke
parent 1fb8f8c504
commit f0c8c8518b
2 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -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);