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