From 96f376af54270a6cb2151c4e2818837a8ae780bb Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Mon, 11 Jan 2021 13:06:45 -0600 Subject: [PATCH] Support socket closing on Linux --- OpenRGBE131ReceiverDialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenRGBE131ReceiverDialog.cpp b/OpenRGBE131ReceiverDialog.cpp index 11247c8..72cf553 100644 --- a/OpenRGBE131ReceiverDialog.cpp +++ b/OpenRGBE131ReceiverDialog.cpp @@ -5,6 +5,11 @@ #include #include +#ifndef _WIN32 +#include +#define closesocket ::close +#endif + #define MAX_LEDS_PER_UNIVERSE 170 void DeviceListChanged_Callback(void * this_ptr)