Imported Upstream version 0.7.19
[platform/upstream/libsolv.git] / tools / helix2solv.c
index d893fb1..8ab531e 100644 (file)
@@ -15,8 +15,6 @@
  */
 
 #include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -35,7 +33,7 @@ main(int argc, char **argv)
       fprintf(stderr, "helix2solv: %s\n", pool_errstr(pool));
       exit(1);
     }
-  tool_write(repo, 0, 0);
+  tool_write(repo, stdout);
   pool_free(pool);
   exit(0);
 }