mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 09:35:42 +00:00
add winsock2 for gethostname on win32
This commit is contained in:
parent
b52eaea5b4
commit
fe4751381e
@ -51,7 +51,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifndef EMBEDDED
|
#ifndef EMBEDDED
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include "Winsock2.h"
|
||||||
|
#else
|
||||||
#include <unistd.h> // gethostbyname
|
#include <unistd.h> // gethostbyname
|
||||||
|
#endif
|
||||||
#include <btstack/version.h>
|
#include <btstack/version.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user