From b202eaee259572cf8b627a776a62ce9d59aa50a6 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Mon, 07 Aug 2017 23:57:56 +0000 Subject: [PATCH] Latency fix for RTSP-camera in console-app --- src/utils.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/utils.c b/src/utils.c index 41e71d0..ec4f8ac 100644 --- a/src/utils.c +++ b/src/utils.c @@ -3,10 +3,13 @@ #include <string.h> #include <math.h> #include <assert.h> -#include "unistd.h" #include <float.h> #include <limits.h> - +#ifdef WIN32 +#include "unistd.h" +#else +#include <unistd.h> +#endif #include "utils.h" #pragma warning(disable: 4996) -- Gitblit v1.10.0