add build to sigar_version_t

This commit is contained in:
Doug MacEachern 2006-07-13 21:56:06 +00:00
parent 0af92b17f9
commit 93b3e261c5
2 changed files with 3 additions and 2 deletions

View File

@ -648,7 +648,7 @@ typedef struct {
const char *archname; const char *archname;
const char *archlib; const char *archlib;
const char *binname; const char *binname;
int major, minor, maint; int major, minor, maint, build;
} sigar_version_t; } sigar_version_t;
SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void); SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void);

View File

@ -8,7 +8,8 @@ static sigar_version_t sigar_version = {
"@@BINNAME@@", "@@BINNAME@@",
@@VERSION_MAJOR@@, @@VERSION_MAJOR@@,
@@VERSION_MINOR@@, @@VERSION_MINOR@@,
@@VERSION_MAINT@@ @@VERSION_MAINT@@,
@@VERSION_BUILD@@
}; };
SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void) SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void)