daemon: winsock2.h needed for gethostname on windows

This commit is contained in:
Matthias Ringwald 2018-08-14 22:46:25 +02:00
parent 2ab223899f
commit 092bd57e49

View File

@ -54,9 +54,12 @@
#include <stdlib.h>
#include <strings.h>
#include <unistd.h>
#include <getopt.h>
#ifdef _WIN32
#include "Winsock2.h"
#endif
#include "btstack.h"
#include "btstack_client.h"
#include "btstack_debug.h"