aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/ftpupload.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/ftpupload.c')
-rw-r--r--docs/examples/ftpupload.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index 5b430e648..dee44c4ab 100644
--- a/docs/examples/ftpupload.c
+++ b/docs/examples/ftpupload.c
@@ -11,6 +11,9 @@
#include <stdio.h>
#include <curl/curl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
/*
* This example shows an FTP upload, with a rename of the file just after