From 37259078f02b797ece6bf67aa6179cb05ba92d47 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Sat, 05 Aug 2017 13:23:53 +0000 Subject: [PATCH] Add tracking for image in example of usage SO/DLL --- 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