about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-01-08 10:19:35 +0000
committerAndreas Jaeger <aj@suse.de>2002-01-08 10:19:35 +0000
commit5c26fecb6f7dae69c878c2ecdeb81636e571593c (patch)
treefa79dbd586fc7370ab07b45d17ca548507f618a3 /sysdeps/i386
parent8e57fc70831ebb0210aebfd28f0d1720193f308b (diff)
downloadglibc-5c26fecb6f7dae69c878c2ecdeb81636e571593c.tar.gz
glibc-5c26fecb6f7dae69c878c2ecdeb81636e571593c.tar.xz
glibc-5c26fecb6f7dae69c878c2ecdeb81636e571593c.zip
Prevent double inclusion.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/bits/byteswap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/i386/bits/byteswap.h b/sysdeps/i386/bits/byteswap.h
index c76b0814d5..d08a342ab7 100644
--- a/sysdeps/i386/bits/byteswap.h
+++ b/sysdeps/i386/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))
@@ -108,3 +111,5 @@
 	   }								      \
 	 __r.__ll; }))
 #endif
+
+#endif /* _BITS_BYTESWAP_H */