From ec84fac33ee36aa86ff1b85bd2387089306b9f0b Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 5 Dec 2011 15:30:51 +0100 Subject: [PATCH] Buffer now compiles again --- Buffer/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Buffer/main.cpp b/Buffer/main.cpp index 992e9f17..ae03edd4 100644 --- a/Buffer/main.cpp +++ b/Buffer/main.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include "../util/dtsc.h" //DTSC support #include "../util/socket.h" //Socket lib #include "../util/json/json.h" @@ -193,7 +194,7 @@ namespace Buffer{ Storage["totals"] = Json::Value(Json::objectValue); - while((!feof(stdin) || ip_waiting) && !FLV::Parse_Error){ + while (!feof(stdin) || ip_waiting){ usleep(1000); //sleep for 1 ms, to prevent 100% CPU time unsigned int now = time(0); if (now != stattimer){