]> granicus.if.org Git - curl/commitdiff
metalink: restore some includes
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 Jun 2012 21:13:32 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 Jun 2012 21:13:32 +0000 (23:13 +0200)
Commit eeeba1496cbca removed them and thus broke my Linux build

src/tool_metalink.c

index 1dfe32783d7175b6df6ded60bff407a8a682cdcb..8909397b7830e1d35ec29ff68980ceb205ac0f71 100644 (file)
 
 #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