1 --- glibc-2.3.6/sysdeps/unix/sysv/linux/sys/sysinfo.h.org 2009-12-10 16:09:11.043460292 +1000
2 +++ glibc-2.3.6/sysdeps/unix/sysv/linux/sys/sysinfo.h 2009-12-10 15:35:02.813563274 +1000
7 -/* Get sysinfo structure from kernel header. */
8 -#include <linux/kernel.h>
10 + long uptime; /* Seconds since boot */
11 + unsigned long loads[3]; /* 1, 5, and 15 minute load averages */
12 + unsigned long totalram; /* Total usable main memory size */
13 + unsigned long freeram; /* Available memory size */
14 + unsigned long sharedram; /* Amount of shared memory */
15 + unsigned long bufferram; /* Memory used by buffers */
16 + unsigned long totalswap; /* Total swap space size */
17 + unsigned long freeswap; /* swap space still available */
18 + unsigned short procs; /* Number of current processes */
19 + unsigned short pad; /* explicit padding for m68k */
20 + unsigned long totalhigh; /* Total high memory size */
21 + unsigned long freehigh; /* Available high memory size */
22 + unsigned int mem_unit; /* Memory unit size in bytes */
23 + char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */