summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios2
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-06 20:22:42 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-06 20:22:42 +0000
commiteb813ecafa2405e01e33da29d620e5c10ec63d2c (patch)
tree0d88ca89e3eb2349ad27f98038000c206ef544e5 /libc/sysdeps/linux/nios2
parentdd3d4f119e0ad55de4486434f12ee8af1618e971 (diff)
bits/kernel_stat.h is for internal uClibc use only, fix a few other
minor include file issues
Diffstat (limited to 'libc/sysdeps/linux/nios2')
-rw-r--r--libc/sysdeps/linux/nios2/bits/kernel_stat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nios2/bits/kernel_stat.h b/libc/sysdeps/linux/nios2/bits/kernel_stat.h
index bfef64cea..908a153d8 100644
--- a/libc/sysdeps/linux/nios2/bits/kernel_stat.h
+++ b/libc/sysdeps/linux/nios2/bits/kernel_stat.h
@@ -1,6 +1,10 @@
#ifndef _BITS_STAT_STRUCT_H
#define _BITS_STAT_STRUCT_H
+#ifndef _LIBC
+#error bits/kernel_stat.h is for internal uClibc use only!
+#endif
+
/* This file provides whatever this particular arch's kernel thinks
* struct kernel_stat should look like... It turns out each arch has a
* different opinion on the subject... */