summaryrefslogtreecommitdiffstats
path: root/contrib/hostapd/common.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-06-13 17:00:32 +0000
committersam <sam@FreeBSD.org>2005-06-13 17:00:32 +0000
commitd1a1fd4aa94cd9c5cb443c4c1337f91c8c46fde0 (patch)
tree5b11e5f1130886853d82813087f4d19c53b3e668 /contrib/hostapd/common.h
parent15d1673cd63b48b8c42d611ff8f1b3be6c6748bc (diff)
downloadFreeBSD-src-d1a1fd4aa94cd9c5cb443c4c1337f91c8c46fde0.zip
FreeBSD-src-d1a1fd4aa94cd9c5cb443c4c1337f91c8c46fde0.tar.gz
stripped down import of hostapd 0.3.9
Approved by: re (dwhite)
Diffstat (limited to 'contrib/hostapd/common.h')
-rw-r--r--contrib/hostapd/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/hostapd/common.h b/contrib/hostapd/common.h
index aa6429c..0f154e9 100644
--- a/contrib/hostapd/common.h
+++ b/contrib/hostapd/common.h
@@ -8,8 +8,12 @@
#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/endian.h>
+#define __BYTE_ORDER _BYTE_ORDER
+#define __LITTLE_ENDIAN _LITTLE_ENDIAN
+#define __BIG_ENDIAN _BIG_ENDIAN
#define bswap_16 bswap16
#define bswap_32 bswap32
+#define bswap_64 bswap64
#endif
#ifdef CONFIG_NATIVE_WINDOWS
OpenPOWER on IntegriCloud