xbmc-addon-xvdr: add patch to build with gcc-4.7

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-03-30 22:07:28 +02:00
parent 2e4f0ebe32
commit fdc2550f88

View File

@ -0,0 +1,11 @@
diff -Naur xbmc-addon-xvdr-8d57661/src/xvdr/XVDRSession.cpp xbmc-addon-xvdr-8d57661.patch/src/xvdr/XVDRSession.cpp
--- xbmc-addon-xvdr-8d57661/src/xvdr/XVDRSession.cpp 2012-03-22 13:38:00.000000000 +0100
+++ xbmc-addon-xvdr-8d57661.patch/src/xvdr/XVDRSession.cpp 2012-03-30 04:04:13.345131222 +0200
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
#include "responsepacket.h"
#include "requestpacket.h"