Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

include sys/socket.h for send(2) in HTSPSession.cpp

add netinet/in.h in SlingboxLib.cpp and cddb.cpp not auto included in FreeBSD
  • Loading branch information...
commit 41131ab8b3aedd52c175f8543d17282a0895bc62 1 parent 331ab90
Fneufneu authored
View
1  lib/SlingboxLib/SlingboxLib.cpp
@@ -27,6 +27,7 @@ typedef int socklen_t;
#include <stdio.h>
#include <unistd.h>
#include <time.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#define INVALID_SOCKET (SOCKET)(~0)
View
1  xbmc/filesystem/HTSPSession.cpp
@@ -27,6 +27,7 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <sys/socket.h>
extern "C" {
#include "libhts/net.h"
View
1  xbmc/network/cddb.cpp
@@ -43,6 +43,7 @@
#include "utils/log.h"
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
using namespace std;
Please sign in to comment.
Something went wrong with that request. Please try again.