mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix Windows compilation.
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#include <winsock.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#define BUFFER_MAX_LEN 128
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user