X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fcheck-version.c;h=2f17a6ccdea6dd7a18e0a1fb51ccb2c94c8e3a84;hb=083768e30add2d4c53372b98ae64092d1b97ee4b;hp=b54f2e55de0c8a0b3c6c60e22813184062670c59;hpb=e5e3c71d407361f126e61ded83ca7d9d61ff0bca;p=gnulib.git diff --git a/lib/check-version.c b/lib/check-version.c index b54f2e55d..2f17a6ccd 100644 --- a/lib/check-version.c +++ b/lib/check-version.c @@ -28,7 +28,7 @@ #include /* Get specification. */ -#include "check_version.h" +#include "check-version.h" /* Check that the the version of the library (i.e., the CPP symbol * VERSION) is at minimum the requested one in REQ_VERSION (typically @@ -40,7 +40,7 @@ const char * check_version (const char *req_version) { - if (!req_version || strverscmp (req_version, VERSION) < 0) + if (!req_version || strverscmp (req_version, VERSION) <= 0) return VERSION; return NULL;