Permalink
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...
1 parent 331ab90 commit 41131ab8b3aedd52c175f8543d17282a0895bc62 Fneufneu committed Jun 9, 2011
Showing with 3 additions and 0 deletions.
  1. +1 −0 lib/SlingboxLib/SlingboxLib.cpp
  2. +1 −0 xbmc/filesystem/HTSPSession.cpp
  3. +1 −0 xbmc/network/cddb.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)
@@ -27,6 +27,7 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <sys/socket.h>
extern "C" {
#include "libhts/net.h"
@@ -43,6 +43,7 @@
#include "utils/log.h"
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
using namespace std;

0 comments on commit 41131ab

Please sign in to comment.