summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/endian.h b/include/endian.h
index 23a265485..eb2039e68 100644
--- a/include/endian.h
+++ b/include/endian.h
@@ -66,7 +66,7 @@
# endif
#endif
-#ifdef __USE_BSD
+#if defined(__USE_BSD) && !defined(__ASSEMBLER__)
/* Conversion interfaces. */
# include <byteswap.h>