mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Fix build on Windows
This commit is contained in:
parent
62825197ae
commit
3dee3a60d5
@ -14,6 +14,7 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#define SOCKET int
|
#define SOCKET int
|
||||||
#define LastSocketError() errno
|
#define LastSocketError() errno
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#include "Limelight-internal.h"
|
#include "Limelight-internal.h"
|
||||||
#include "Rtsp.h"
|
#include "Rtsp.h"
|
||||||
#include <arpa/inet.h>
|
|
||||||
|
|
||||||
#define RTSP_MAX_RESP_SIZE 16384
|
#define RTSP_MAX_RESP_SIZE 16384
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "Limelight-internal.h"
|
#include "Limelight-internal.h"
|
||||||
#include <arpa/inet.h>
|
|
||||||
|
|
||||||
#define MAX_OPTION_NAME_LEN 128
|
#define MAX_OPTION_NAME_LEN 128
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user