Author: mlandres
Date: Tue Nov 13 22:06:35 2007
New Revision: 7801
URL: http://svn.opensuse.org/viewcvs/zypp?rev=7801&view=rev
Log:
fix to compile
Modified:
trunk/sat-solver/src/repo_solv.h
trunk/sat-solver/src/solver.c
Modified: trunk/sat-solver/src/repo_solv.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo_solv.h?rev=7801&r1=7800&r2=7801&view=diff
==============================================================================
--- trunk/sat-solver/src/repo_solv.h (original)
+++ trunk/sat-solver/src/repo_solv.h Tue Nov 13 22:06:35 2007
@@ -7,7 +7,7 @@
/*
* repo_solv.h
- *
+ *
*/
#ifndef REPO_SOLVE_H
@@ -17,6 +17,8 @@
extern "C" {
#endif
+#include
+
#include "pool.h"
#include "repo.h"
Modified: trunk/sat-solver/src/solver.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/solver.c?rev=7801&r1=7800&r2=7801&view=diff
==============================================================================
--- trunk/sat-solver/src/solver.c (original)
+++ trunk/sat-solver/src/solver.c Tue Nov 13 22:06:35 2007
@@ -898,7 +898,7 @@
if (pool->verbose > 2)
{
- printf("addrule %s-%s.%s %s %d %d\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch), dep2str(pool, req), -n, dp - pool->whatprovidesdata);
+ printf("addrule %s-%s.%s %s %d %ld\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch), dep2str(pool, req), -n, dp - pool->whatprovidesdata);
for (i = 0; dp[i]; i++)
printf(" %s-%s.%s\n", id2str(pool, pool->solvables[dp[i]].name), id2str(pool, pool->solvables[dp[i]].evr), id2str(pool, pool->solvables[dp[i]].arch));
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org