diff --git a/src/hci.c b/src/hci.c index fa7636ea3..e9972f48a 100644 --- a/src/hci.c +++ b/src/hci.c @@ -51,7 +51,11 @@ #include #ifndef EMBEDDED +#ifdef _WIN32 +#include "Winsock2.h" +#else #include // gethostbyname +#endif #include #endif