diff --git a/include/sigar.h b/include/sigar.h index 91c31993..2697de45 100644 --- a/include/sigar.h +++ b/include/sigar.h @@ -648,7 +648,7 @@ typedef struct { const char *archname; const char *archlib; const char *binname; - int major, minor, maint; + int major, minor, maint, build; } sigar_version_t; SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void); diff --git a/src/sigar_version.c.in b/src/sigar_version.c.in index d632e643..f90d0a02 100644 --- a/src/sigar_version.c.in +++ b/src/sigar_version.c.in @@ -8,7 +8,8 @@ static sigar_version_t sigar_version = { "@@BINNAME@@", @@VERSION_MAJOR@@, @@VERSION_MINOR@@, - @@VERSION_MAINT@@ + @@VERSION_MAINT@@, + @@VERSION_BUILD@@ }; SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void)