Small portability fix for systems that don't define SYS_NMLN
This commit is contained in:
@@ -32,8 +32,8 @@
|
|||||||
int TwentyFourHour = 1;
|
int TwentyFourHour = 1;
|
||||||
int uptime_fd = 0;
|
int uptime_fd = 0;
|
||||||
|
|
||||||
static char kver[SYS_NMLN];
|
static char *kver;
|
||||||
static char sysname[SYS_NMLN];
|
static char *sysname;
|
||||||
|
|
||||||
static double get_uptime (double *up, double *idle);
|
static double get_uptime (double *up, double *idle);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user