diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-04-03 13:48:35 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-04-04 14:05:44 +0200 |
commit | e8e3a0a833edf6b91967367ecc48189c282547dd (patch) | |
tree | 9ed92d7026065678745b81257cb2df9774747356 /include | |
parent | 64a2e37a0edd0b6fadb734b98eb0d828240d485d (diff) |
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 <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/sysinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |