diff options
Diffstat (limited to 'jim-posix.c')
-rw-r--r-- | jim-posix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jim-posix.c b/jim-posix.c index eeec649..2015f5f 100644 --- a/jim-posix.c +++ b/jim-posix.c @@ -29,7 +29,7 @@ #include "jim.h" #include "jimautoconf.h" -#ifdef HAVE_SYSINFO +#ifdef HAVE_SYS_SYSINFO_H #include <sys/sysinfo.h> #endif @@ -183,7 +183,7 @@ static int Jim_PosixGethostnameCommand(Jim_Interp *interp, int argc, Jim_Obj *co static int Jim_PosixUptimeCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv) { -#ifdef HAVE_SYSINFO +#ifdef HAVE_STRUCT_SYSINFO_UPTIME struct sysinfo info; if (argc != 1) { |