add self_path
This commit is contained in:
parent
036f8e7789
commit
99728c8e48
|
@ -41,6 +41,7 @@ struct sigar_t {
|
||||||
struct cpuinfo *cpuinfo;
|
struct cpuinfo *cpuinfo;
|
||||||
int cpuinfo_size;
|
int cpuinfo_size;
|
||||||
char model[128];
|
char model[128];
|
||||||
|
char self_path[1024]; /* path to where libsigar.so lives */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define HAVE_STRERROR_R
|
#define HAVE_STRERROR_R
|
||||||
|
|
Loading…
Reference in New Issue