4 #include <click/radiotap_iter.h>
5 #include <click/platform.h>
7 +#if !defined(le32toh) || !defined(le16toh)
8 +# if BYTE_ORDER == LITTLE_ENDIAN
9 +# define le32toh(x) (x)
10 +# define le16toh(x) (x)
12 +# include <byteswap.h>
13 +# define le32toh(x) bswap_32(x)
14 +# define le16toh(x) bswap_16(x)
18 /* function prototypes and related defs are in radiotap_iter.h */
20 static const struct radiotap_align_size rtap_namespace_sizes[] = {