diff options
Diffstat (limited to 'src/byteorder.h')
-rw-r--r-- | src/byteorder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/byteorder.h b/src/byteorder.h index 7362aeb..928c1b8 100644 --- a/src/byteorder.h +++ b/src/byteorder.h @@ -1,6 +1,8 @@ #ifndef __BYTEORDER_H #define __BYTEORDER_H +#include "types.h" // u32 + static inline u16 __swab16_constant(u16 val) { return (val<<8) | (val>>8); } |