projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
EAP Channel binding support
[mech_eap.git]
/
libeap
/
src
/
utils
/
common.h
diff --git
a/libeap/src/utils/common.h
b/libeap/src/utils/common.h
index
f2ec88b
..
2868df7
100644
(file)
--- a/
libeap/src/utils/common.h
+++ b/
libeap/src/utils/common.h
@@
-76,7
+76,12
@@
static inline unsigned int bswap_32(unsigned int v)
#endif /* __SYMBIAN32__ */
#ifdef CONFIG_NATIVE_WINDOWS
+#ifdef CONFIG_IPV6
+#include <winsock2.h>
+#include <ws2tcpip.h>
+#else
#include <winsock.h>
+#endif
typedef int socklen_t;