diff options
Diffstat (limited to 'examples/libsmbclient/teststatvfs.c')
-rw-r--r-- | examples/libsmbclient/teststatvfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |