Revision d3922ab5

b/libfdt_env.h
19 19
#ifndef _LIBFDT_ENV_H
20 20
#define _LIBFDT_ENV_H
21 21

  
22
#include <stddef.h>
23
#include <stdint.h>
24
#include <string.h>
25
#include <endian.h>
26
#include <byteswap.h>
22
#include "bswap.h"
27 23

  
28
#if __BYTE_ORDER == __BIG_ENDIAN
24
#ifdef HOST_WORDS_BIGENDIAN
29 25
#define fdt32_to_cpu(x)		(x)
30 26
#define cpu_to_fdt32(x)		(x)
31 27
#define fdt64_to_cpu(x)		(x)

Also available in: Unified diff