Imported Upstream version 0.7.27
[platform/upstream/libsolv.git] / tools / repomdxml2solv.c
index f32c35d..fdf7666 100644 (file)
@@ -6,8 +6,6 @@
  */
 
 #include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -117,7 +115,7 @@ main(int argc, char **argv)
   if (query)
     doquery(pool, repo, query);
   else
-    tool_write(repo, 0, 0);
+    tool_write(repo, stdout);
   pool_free(pool);
   exit(0);
 }