summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-03 13:48:35 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-04 14:05:44 +0200
commite8e3a0a833edf6b91967367ecc48189c282547dd (patch)
tree9ed92d7026065678745b81257cb2df9774747356
parent64a2e37a0edd0b6fadb734b98eb0d828240d485d (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>
-rw-r--r--include/sys/sysinfo.h2
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 */