diff options
Diffstat (limited to 'examples/libsmbclient')
-rw-r--r-- | examples/libsmbclient/testfstatvfs.c | 3 | ||||
-rw-r--r-- | examples/libsmbclient/teststatvfs.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/libsmbclient/testfstatvfs.c b/examples/libsmbclient/testfstatvfs.c index 815afac866..b4dafefff6 100644 --- a/examples/libsmbclient/testfstatvfs.c +++ b/examples/libsmbclient/testfstatvfs.c @@ -1,4 +1,5 @@ #include <sys/types.h> +#include <sys/statvfs.h> #include <stdio.h> #include <unistd.h> #include <string.h> @@ -17,7 +18,7 @@ int main(int argc, char * argv[]) char * p; char path[2048]; struct stat statbuf; - struct smbc_statvfs statvfsbuf; + struct statvfs statvfsbuf; smbc_init(get_auth_data_fn, debug); diff --git a/examples/libsmbclient/teststatvfs.c b/examples/libsmbclient/teststatvfs.c index b9509d2e07..8812002d5c 100644 --- a/examples/libsmbclient/teststatvfs.c +++ b/examples/libsmbclient/teststatvfs.c @@ -1,4 +1,5 @@ #include <sys/types.h> +#include <sys/statvfs.h> #include <stdio.h> #include <unistd.h> #include <string.h> @@ -17,7 +18,7 @@ int main(int argc, char * argv[]) char * p; char path[2048]; struct stat statbuf; - struct smbc_statvfs statvfsbuf; + struct statvfs statvfsbuf; smbc_init(get_auth_data_fn, debug); |