| 1 | #ifndef _KCOMPAT_TYPES |
| 2 | #define _KCOMPAT_TYPES |
| 3 | |
| 4 | /* |
| 5 | * Kernel sourcecode compatibility layer |
| 6 | * |
| 7 | * Copyright (C) 2009 Novell Inc. |
| 8 | * |
| 9 | * Author: Jan Blunck <jblunck@suse.de> |
| 10 | * |
| 11 | * This program is free software; you can redistribute it and/or modify it |
| 12 | * under the terms of the GNU Lesser General Public License version 2.1 as |
| 13 | * published by the Free Software Foundation. |
| 14 | */ |
| 15 | |
| 16 | #include <asm/types.h> |
| 17 | |
| 18 | #ifdef __KERNEL__ |
| 19 | typedef __s8 s8; |
| 20 | typedef __u8 u8; |
| 21 | |
| 22 | typedef __s16 s16; |
| 23 | typedef __u16 u16; |
| 24 | |
| 25 | typedef __s32 s32; |
| 26 | typedef __u32 u32; |
| 27 | |
| 28 | typedef __s64 s64; |
| 29 | typedef __u64 u64; |
| 30 | #endif |
| 31 | |
| 32 | #endif /* _KCOMPAT_TYPES */ |