summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 3afe0301..510d898e 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -34,7 +34,7 @@
/* pacman */
#include "log.h"
#include "error.h"
-#include "rpmvercmp.h"
+#include "versioncmp.h"
#include "md5.h"
#include "list.h"
#include "package.h"
@@ -479,7 +479,7 @@ int alpm_pkg_free(pmpkg_t *pkg)
int alpm_pkg_vercmp(const char *ver1, const char *ver2)
{
- return(rpmvercmp(ver1, ver2));
+ return(versioncmp(ver1, ver2));
}
/** @} */