aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-02-19 12:50:54 +0100
committerGitHub <noreply@github.com>2018-02-19 12:50:54 +0100
commit12e33ae872795518aba882c57857dfefbc0c0eda (patch)
tree35024e05886caffc81ecdaf8d5bf4ea442a36ea9 /src/libui_sdl
parent981661a36d691c00f3499d6cf5a3a4db6736a626 (diff)
parent549bcf6d71f7bb31c8be6e1d8700ab51c55b6987 (diff)
Merge pull request #222 from dogtopus/master
Fix build on linux, enable build directory support
Diffstat (limited to 'src/libui_sdl')
-rw-r--r--src/libui_sdl/Platform.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp
index 507e0f3..80aa0e9 100644
--- a/src/libui_sdl/Platform.cpp
+++ b/src/libui_sdl/Platform.cpp
@@ -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