OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470b19d
)
Avoid errors in case some loon has explicitly included
author
Eric Andersen
<andersen@codepoet.org>
Sat, 27 Jul 2002 08:31:42 +0000
(08:31 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 27 Jul 2002 08:31:42 +0000
(08:31 -0000)
linux/kernel.h (even though doing so is very dumb).
-Erik
include/sys/sysinfo.h
patch
|
blob
|
history
diff --git
a/include/sys/sysinfo.h
b/include/sys/sysinfo.h
index
b0405e2
..
169731e
100644
(file)
--- a/
include/sys/sysinfo.h
+++ b/
include/sys/sysinfo.h
@@
-21,6
+21,7
@@
#include <features.h>
+#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. */
struct sysinfo {
@@
-39,6
+40,7
@@
struct sysinfo {
unsigned int mem_unit; /* Memory unit size in bytes */
char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */
};
+#endif
__BEGIN_DECLS