diff base/RealTime.h @ 1222:771a17925576 piper

Merge from branch 3.0-integration
author Chris Cannam
date Thu, 20 Oct 2016 11:19:34 +0100
parents c811991a5efa
children 48e9f538e6e9
line wrap: on
line diff
--- a/base/RealTime.h	Mon Oct 17 16:39:36 2016 +0100
+++ b/base/RealTime.h	Thu Oct 20 11:19:34 2016 +0100
@@ -28,7 +28,11 @@
 
 #include <vamp-hostsdk/RealTime.h>
 
-struct timeval;
+#ifdef _MSC_VER
+#include "winsock.h" // struct timeval is in here
+#else
+#include "sys/time.h"
+#endif
 
 /**
  * RealTime represents time values to nanosecond precision