-Index: crtmpserver-r692/builders/make/compile.mk
-===================================================================
---- crtmpserver-r692.orig/builders/make/compile.mk
-+++ crtmpserver-r692/builders/make/compile.mk
+--- a/builders/make/compile.mk
++++ b/builders/make/compile.mk
@@ -67,7 +67,7 @@ TINYXML_OBJS = $(TINYXML_SRCS:.cpp=.tiny
#common
-Index: crtmpserver-r692/builders/make/linux.mk
-===================================================================
---- crtmpserver-r692.orig/builders/make/linux.mk
-+++ crtmpserver-r692/builders/make/linux.mk
+--- a/builders/make/linux.mk
++++ b/builders/make/linux.mk
@@ -31,8 +31,8 @@ OPTIMIZATIONS = -O3
COMPILE_FLAGS = $(FPIC) $(OPTIMIZATIONS) $(CFLAGS)
-Index: crtmpserver-r726/builders/cmake/crtmpserver/crtmpserver.lua
-===================================================================
---- crtmpserver-r726.orig/builders/cmake/crtmpserver/crtmpserver.lua
-+++ crtmpserver-r726/builders/cmake/crtmpserver/crtmpserver.lua
+--- a/builders/cmake/crtmpserver/crtmpserver.lua
++++ b/builders/cmake/crtmpserver/crtmpserver.lua
@@ -44,7 +44,7 @@ configuration=
{
-- this is the root directory of all applications
-Index: crtmpserver-r726/builders/make/linux.mk
-===================================================================
---- crtmpserver-r726.orig/builders/make/linux.mk
-+++ crtmpserver-r726/builders/make/linux.mk
+--- a/builders/make/linux.mk
++++ b/builders/make/linux.mk
@@ -38,7 +38,7 @@ dynamic_exec_flags = $(FPIC) $(OPTIMIZAT
PLATFORM_DEFINES = \
-DLINUX \
-Index: crtmpserver-r726/builders/make/compile.mk
-===================================================================
---- crtmpserver-r726.orig/builders/make/compile.mk
-+++ crtmpserver-r726/builders/make/compile.mk
+--- a/builders/make/compile.mk
++++ b/builders/make/compile.mk
@@ -43,10 +43,16 @@ FEATURES_DEFINES = \
-DHAS_PROTOCOL_RTP \
-DHAS_PROTOCOL_TS \
-Index: crtmpserver-r726/builders/make/compile.mk
-===================================================================
---- crtmpserver-r726.orig/builders/make/compile.mk 2012-06-07 19:53:18.028378001 +0200
-+++ crtmpserver-r726/builders/make/compile.mk 2012-06-07 20:02:08.260400669 +0200
-@@ -59,7 +59,7 @@
+--- a/builders/make/compile.mk
++++ b/builders/make/compile.mk
+@@ -59,7 +59,7 @@ DEFINES = $(PLATFORM_DEFINES) $(FEATURES
#library paths
SSL_INCLUDE=-I$(SSL_BASE)/include
--- /dev/null
+--- a/sources/common/include/platform/linux/linuxplatform.h
++++ b/sources/common/include/platform/linux/linuxplatform.h
+@@ -59,6 +59,7 @@
+ #include <sys/socket.h>
+ #include <string.h>
+ #include <stdarg.h>
++#include <unistd.h>
+ using namespace std;
+
+