From fdda13fafbec9a3f86b0357572b9a028953d9411 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 22 Oct 2003 09:15:57 +0000 Subject: It seems we need to also define SI_LOAD_SHIFT since that was also exported by the Linux kernel.h header that we do not include. --- include/sys/sysinfo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys/sysinfo.h') diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h index 169731efe..9fd4fa829 100644 --- a/include/sys/sysinfo.h +++ b/include/sys/sysinfo.h @@ -24,6 +24,7 @@ #ifndef _LINUX_KERNEL_H /* Include our own copy of struct sysinfo to avoid binary compatability * problems with Linux 2.4, which changed things. Grumble, grumble. */ +#define SI_LOAD_SHIFT 16 struct sysinfo { long uptime; /* Seconds since boot */ unsigned long loads[3]; /* 1, 5, and 15 minute load averages */ -- cgit v1.2.3