aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64/bits/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/bits/byteswap.h')
-rw-r--r--sysdeps/ia64/bits/byteswap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/ia64/bits/byteswap.h b/sysdeps/ia64/bits/byteswap.h
index 012a40ee4b..285102c3df 100644
--- a/sysdeps/ia64/bits/byteswap.h
+++ b/sysdeps/ia64/bits/byteswap.h
@@ -1,5 +1,5 @@
/* Macros to swap the order of bytes in integer values.
- Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,6 +21,9 @@
# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
#endif
+#ifndef _BITS_BYTESWAP_H
+#define _BITS_BYTESWAP_H 1
+
/* Swap bytes in 16 bit value. */
#define __bswap_constant_16(x) \
((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))
@@ -91,3 +94,5 @@
#else
# define __bswap_64(x) __bswap_constant_64 (x)
#endif
+
+#endif /* _BITS_BYTESWAP_H */