projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebb87f
)
tool_doswin.c: fix djgpp function _use_lfn() used without a prototype
author
Gisle Vanem
<gvanem@broadpark.no>
Wed, 20 Jun 2012 21:40:42 +0000
(23:40 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 20 Jun 2012 21:40:42 +0000
(23:40 +0200)
http://curl.haxx.se/mail/archive-2012-06/0028.html
src/tool_doswin.c
patch
|
blob
|
history
diff --git
a/src/tool_doswin.c
b/src/tool_doswin.c
index
c1ba48e
..
4fae91d
100644
(file)
--- a/
src/tool_doswin.c
+++ b/
src/tool_doswin.c
@@
-81,6
+81,8
@@
__pragma(warning(pop))
# define _use_lfn(f) ALWAYS_TRUE /* long file names always available */
#elif !defined(__DJGPP__) || (__DJGPP__ < 2) /* DJGPP 2.0 has _use_lfn() */
# define _use_lfn(f) ALWAYS_FALSE /* long file names never available */
+#elif defined(__DJGPP__)
+# include <fcntl.h> /* _use_lfn(f) prototype */
#endif
static const char *msdosify (const char *file_name);