Merge pull request #222 from dogtopus/master

Fix build on linux, enable build directory support
This commit is contained in:
StapleButter
2018-02-19 12:50:54 +01:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@ -23,6 +23,9 @@
#include "WifiAP.h"
#include "Platform.h"
#ifndef __WIN32__
#include <stddef.h>
#endif
namespace WifiAP
{

View File

@ -38,6 +38,7 @@
#define socket_t int
#define sockaddr_t struct sockaddr
#define closesocket close
#define PCAP_OPENFLAG_PROMISCUOUS 1
#endif
#ifndef INVALID_SOCKET