summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorClaudiu Olteanu <claudiu@140774ce-b5e7-0310-ab8b-a85725594a96>2013-09-18 12:53:30 +0000
committerClaudiu Olteanu <claudiu@140774ce-b5e7-0310-ab8b-a85725594a96>2013-09-18 12:53:30 +0000
commit2b74f7a94df138bd6f732334033574bdc1727250 (patch)
treebd41e355d72445baee7df830665d38fe80c98987 /src/transport/plugin_transport_wlan.h
parentda43a590f1c47e9907a5b44b978999e043fd74ee (diff)
Adding W32 functionality
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h
index b7f22de71..c6f990058 100644
--- a/src/transport/plugin_transport_wlan.h
+++ b/src/transport/plugin_transport_wlan.h
@@ -32,7 +32,12 @@
/**
* Number fo bytes in a mac address.
*/
-#define MAC_ADDR_SIZE 6
+#ifdef MINGW
+ #define MAC_ADDR_SIZE 8
+ typedef uint8_t u_int8_t;
+#else
+ #define MAC_ADDR_SIZE 6
+#endif
/**
* Value for "Management" in the 'frame_control' field of the