diff options
Diffstat (limited to 'lib/formdata.c')
-rw-r--r-- | lib/formdata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/formdata.c b/lib/formdata.c index 442c306f5..fa26ebbe5 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -112,7 +112,9 @@ Content-Disposition: form-data; name="FILECONTENT" #include <string.h> #include <stdarg.h> #include <time.h> +#ifdef HAVE_SYS_STAT_H #include <sys/stat.h> +#endif #if defined(HAVE_LIBGEN_H) && defined(HAVE_BASENAME) #include <libgen.h> #endif |