diff options
Diffstat (limited to 'kerncompat.h')
-rw-r--r-- | kerncompat.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kerncompat.h b/kerncompat.h index 314ea023..5d928565 100644 --- a/kerncompat.h +++ b/kerncompat.h @@ -16,8 +16,8 @@ * Boston, MA 021110-1307, USA. */ -#ifndef __KERNCOMPAT -#define __KERNCOMPAT +#ifndef __KERNCOMPAT_H__ +#define __KERNCOMPAT_H__ #include <stdio.h> #include <stdlib.h> @@ -351,7 +351,6 @@ struct __una_u64 { __le64 x; } __attribute__((__packed__)); #define put_unaligned_le32(val,p) (((struct __una_u32 *)(p))->x = cpu_to_le32(val)) #define get_unaligned_le64(p) le64_to_cpu(((const struct __una_u64 *)(p))->x) #define put_unaligned_le64(val,p) (((struct __una_u64 *)(p))->x = cpu_to_le64(val)) -#endif #ifndef true #define true 1 @@ -361,3 +360,5 @@ struct __una_u64 { __le64 x; } __attribute__((__packed__)); #ifndef noinline #define noinline #endif + +#endif |