about summary refs log tree commit diff
path: root/sysdeps/mips/mipsel/bits/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/mipsel/bits/endian.h')
-rw-r--r--sysdeps/mips/mipsel/bits/endian.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mips/mipsel/bits/endian.h b/sysdeps/mips/mipsel/bits/endian.h
index 5da5965cb2..2241190a70 100644
--- a/sysdeps/mips/mipsel/bits/endian.h
+++ b/sysdeps/mips/mipsel/bits/endian.h
@@ -1,4 +1,8 @@
 /* The MIPS architecture has selectable endianness.
    This file is for a machine using little-endian mode.  */
 
+#ifndef _ENDIAN_H
+# error "Never use <bits/endian.h> directly; include <endian.h> instead."
+#endif
+
 #define __BYTE_ORDER __LITTLE_ENDIAN