diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-04 04:26:44 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:39:48 -0700 |
commit | e5f053b5312a0f8d62a2bcff8ddb095052d228bc (patch) | |
tree | 54fa17afcdb1c8919710da70f55e267d2a758e8e /klibc/include/sys | |
parent | 6d7a6d08c2386611e4ccb62ce660ceb53b1bf79f (diff) |
[PATCH] klibc: update v0.205
Diffstat (limited to 'klibc/include/sys')
-rw-r--r-- | klibc/include/sys/select.h | 1 | ||||
-rw-r--r-- | klibc/include/sys/vfs.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/klibc/include/sys/select.h b/klibc/include/sys/select.h index 7caf8c931b..361a1a53b0 100644 --- a/klibc/include/sys/select.h +++ b/klibc/include/sys/select.h @@ -5,6 +5,7 @@ #ifndef _SYS_SELECT_H #define _SYS_SELECT_H +#include <klibc/extern.h> #include <sys/time.h> #include <sys/types.h> diff --git a/klibc/include/sys/vfs.h b/klibc/include/sys/vfs.h index b60d1a572f..cf5aaf9107 100644 --- a/klibc/include/sys/vfs.h +++ b/klibc/include/sys/vfs.h @@ -8,11 +8,12 @@ #include <stdint.h> #include <klibc/extern.h> #include <sys/types.h> +#include <bitsize.h> /* struct statfs64 -- there seems to be two standards - one for 32 and one for 64 bits, and they're incompatible... */ -#if BITSIZE == 32 || defined(__s390__) +#if _BITSIZE == 32 || defined(__s390__) struct statfs { uint32_t f_type; @@ -28,7 +29,7 @@ struct statfs { uint32_t f_spare[5]; }; -#else /* BITSIZE == 64 */ +#else /* _BITSIZE == 64 */ struct statfs { uint64_t f_type; @@ -44,7 +45,7 @@ struct statfs { uint64_t f_spare[5]; }; -#endif /* BITSIZE */ +#endif /* _BITSIZE */ __extern int statfs(const char *, struct statfs *); __extern int fstatfs(int, struct statfs *); |