From e8e3a0a833edf6b91967367ecc48189c282547dd Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 3 Apr 2014 13:48:35 +0200 Subject: sysinfo.h: Prevent redeclarations Guard against duplicate inclusion. We should go back to just including the linux/sysinfo.h .. Signed-off-by: Bernhard Reutner-Fischer --- include/sys/sysinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h index c3691a29e..00e363371 100644 --- a/include/sys/sysinfo.h +++ b/include/sys/sysinfo.h @@ -23,6 +23,8 @@ #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 _LINUX_SYSINFO_H + #define SI_LOAD_SHIFT 16 struct sysinfo { long uptime; /* Seconds since boot */ -- cgit v1.2.3