summaryrefslogtreecommitdiffstats
path: root/freebsd/usr.sbin/wpa/wpa_supplicant/ntddndis.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/usr.sbin/wpa/wpa_supplicant/ntddndis.h')
-rw-r--r--freebsd/usr.sbin/wpa/wpa_supplicant/ntddndis.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/freebsd/usr.sbin/wpa/wpa_supplicant/ntddndis.h b/freebsd/usr.sbin/wpa/wpa_supplicant/ntddndis.h
new file mode 100644
index 00000000..42e403d7
--- /dev/null
+++ b/freebsd/usr.sbin/wpa/wpa_supplicant/ntddndis.h
@@ -0,0 +1,31 @@
+#ifndef _NTDDNDIS_H_
+#define _NTDDNDIS_H_
+
+/*
+ * $FreeBSD$
+ */
+
+/*
+ * Fake up some of the Windows type definitions so that the NDIS
+ * interface module in wpa_supplicant will build.
+ */
+
+#define ULONG uint32_t
+#define USHORT uint16_t
+#define UCHAR uint8_t
+#define LONG int32_t
+#define SHORT int16_t
+#define CHAR int8_t
+#define ULONGLONG uint64_t
+#define LONGLONG int64_t
+#define BOOLEAN uint8_t
+typedef void * LPADAPTER;
+typedef char * PTSTR;
+typedef char * PCHAR;
+
+#define TRUE 1
+#define FALSE 0
+
+#define OID_802_3_CURRENT_ADDRESS 0x01010102
+
+#endif /* _NTDDNDIS_H_ */