diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-06-08 23:13:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-06-08 23:13:32 +0200 |
commit | 870c99b7e76623fc2200dcdef6667759c9578a2c (patch) | |
tree | a88488d39e2c44d397005176c6f59ba11ec8a3e0 /src | |
parent | e3f5e04cf09b59a70866c0a08d5310e57492cf73 (diff) |
metalink: restore some includes
Commit eeeba1496cbca removed them and thus broke my Linux build
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_metalink.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tool_metalink.c b/src/tool_metalink.c index 1dfe32783..8909397b7 100644 --- a/src/tool_metalink.c +++ b/src/tool_metalink.c @@ -23,6 +23,16 @@ #ifdef USE_METALINK +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + +#include <sys/stat.h> + +#ifdef HAVE_FCNTL_H +# include <fcntl.h> +#endif + #include <metalink/metalink_parser.h> #ifdef USE_SSLEAY |