瀏覽代碼

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>
Bernhard Reutner-Fischer 10 年之前
父節點
當前提交
e8e3a0a833
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/sys/sysinfo.h

+ 2 - 0
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 */