summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/bits/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/cris/bits/byteswap.h')
-rw-r--r--libc/sysdeps/linux/cris/bits/byteswap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/cris/bits/byteswap.h b/libc/sysdeps/linux/cris/bits/byteswap.h
index 60544a0ad..f152d73e8 100644
--- a/libc/sysdeps/linux/cris/bits/byteswap.h
+++ b/libc/sysdeps/linux/cris/bits/byteswap.h
@@ -1,3 +1,6 @@
+#ifndef _BITS_BYTESWAP_H
+#define _BITS_BYTESWAP_H 1
+
#define ___swab16(x) \
({ \
unsigned short __x = (x); \
@@ -42,6 +45,4 @@ static inline unsigned long __fswab32(unsigned long x)
___swab32((x)) : \
__fswab32((x)))
-
-
-
+#endif /* _BITS_BYTESWAP_H */