From 93b3e261c553497348e3c0022be55835668256da Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 13 Jul 2006 21:56:06 +0000 Subject: [PATCH] add build to sigar_version_t --- include/sigar.h | 2 +- src/sigar_version.c.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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)