diff options
author | Gisle Vanem <gvanem@yahoo.no> | 2013-10-24 15:21:16 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-10-27 15:48:57 +0100 |
commit | 6fe619be7a5e6c04b8f558f07de48ecffcb21c64 (patch) | |
tree | bae3bb27113e15207a5db3b065ca9a2fac6971b7 /tests/data/test921 | |
parent | 1e39b95682781fd9117eef094f6fd8c58b443610 (diff) |
docs/examples/httpput.c: fix build for MSVC
"Dan Fandrich" <dan@coneharvesters.com> wrote:
>> But I'm not sure <unistd.h> is needed at all.
>
> It's needed for close(2). But the only reason that's needed is because fstat
> is used instead of stat(2); if you fix that, then you could remove that
> include altogether.
Okay. I've tested the following with MSVC and MingW. htttput.c now
simply uses stat():
Diffstat (limited to 'tests/data/test921')
0 files changed, 0 insertions, 0 deletions