mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-06 17:29:24 +08:00
arpa/nameser_compat.h: Use proper endian defines
This commit is contained in:
parent
74a133dbac
commit
5a2f2806e4
@ -37,7 +37,11 @@
|
||||
|
||||
#define __BIND 19950621 /*%< (DEAD) interface version stamp. */
|
||||
|
||||
#ifndef __rtems__
|
||||
#include <machine/endian.h>
|
||||
#else /* __rtems__ */
|
||||
#include <machine/rtems-bsd-endian.h>
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#if !defined(_BYTE_ORDER) || \
|
||||
(_BYTE_ORDER != _BIG_ENDIAN && _BYTE_ORDER != _LITTLE_ENDIAN && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user