/usr/include/freebsd/machine/endian.h is in freebsd-glue 0.2.20.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #if defined(__FreeBSD_kernel__) && !defined(__FREEBSD_GLUE_USE_EMBEDDED_HEADERS)
/* We have <machine/endian.h>. Use it. */
# include_next <machine/endian.h>
#else
# ifndef _MACHINE_ENDIAN_H_
# define _MACHINE_ENDIAN_H_
# include_next <endian.h>
# define _LITTLE_ENDIAN LITTLE_ENDIAN
# define _BIG_ENDIAN BIG_ENDIAN
# define _BYTE_ORDER BYTE_ORDER
# endif
#endif
|