Co-authored-by: yuze <yuze@nextas.com>
@@ -5,8 +5,12 @@
#include "hplatform.h"
#ifdef ENABLE_UDS
+#ifdef OS_WIN
+ #include <afunix.h> // import struct sockaddr_un
+#else
#include <sys/un.h> // import struct sockaddr_un
#endif
+#endif
#ifdef _MSC_VER
#pragma comment(lib, "ws2_32.lib")