From 5b6dd3a07c0d933f36f9e2a3aaa95ff855ca2795 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 02 Dec 2016 14:13:40 +0000
Subject: [PATCH] Sources fixed - Yolo v2 can be used on Windows (MSVS 2015 + CUDA 8.0)

---
 src/classifier.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/classifier.c b/src/classifier.c
index 586530a..fbfe5e7 100644
--- a/src/classifier.c
+++ b/src/classifier.c
@@ -6,7 +6,10 @@
 #include "assert.h"
 #include "classifier.h"
 #include "cuda.h"
-#include <sys/time.h>
+//#include <sys/time.h>
+#include <time.h>
+#include <winsock.h>
+#include "gettimeofday.h"
 
 #ifdef OPENCV
 #include "opencv2/highgui/highgui_c.h"

--
Gitblit v1.10.0