mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 10:29:19 +08:00
Directly use <machine/endian.h> provided by Newlib
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#ifndef __rtems__
|
||||
#include <machine/endian.h>
|
||||
#else /* __rtems__ */
|
||||
#include <machine/rtems-bsd-endian.h>
|
||||
#include <machine/endian.h>
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#if !defined(_BYTE_ORDER) || \
|
||||
|
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
|
||||
#else
|
||||
#include <string.h>
|
||||
#endif
|
||||
#include <machine/rtems-bsd-endian.h>
|
||||
#include <machine/endian.h>
|
||||
#include <crypto/sha2/sha2.h>
|
||||
|
||||
/*
|
||||
|
@@ -26,6 +26,6 @@
|
||||
#ifndef _ATALK_ENDIAN_H_
|
||||
#define _ATALK_ENDIAN_H_
|
||||
|
||||
#include <machine/rtems-bsd-endian.h>
|
||||
#include <machine/endian.h>
|
||||
|
||||
#endif /* !_ATALK_ENDIAN_H_ */
|
||||
|
@@ -38,7 +38,7 @@
|
||||
#ifndef __rtems__
|
||||
#include <machine/endian.h>
|
||||
#else /* __rtems__ */
|
||||
#include <machine/rtems-bsd-endian.h>
|
||||
#include <machine/endian.h>
|
||||
#endif /* __rtems__ */
|
||||
|
||||
/* Protocols common to RFC 1700, POSIX, and X/Open. */
|
||||
|
Reference in New Issue
Block a user