20 Jun 2012 18:36
[Patch] src/tool_doswin.c
Gisle Vanem <gvanem <at> broadpark.no>
2012-06-20 16:36:42 GMT
2012-06-20 16:36:42 GMT
For djgpp/DOS, src/tool_doswin.c calls the djgpp function _use_lfn() without a prototype. Hence, include <fcntl.h> where the protype is: --- Git-latest/src/tool_doswin.c Wed Jun 13 22:40:11 2012 +++ src/tool_doswin.c Wed Jun 20 13:39:10 2012 <at> <at> -27,6 +27,10 <at> <at> # include <libgen.h> #endif +#ifdef HAVE_FCNTL_H +# include <fcntl.h> +#endif + #ifdef WIN32 # include "tool_cfgable.h" # include "tool_libinfo.h" --gv ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.html
RSS Feed