diff base/RealTime.h @ 1216:c811991a5efa msvc2015_64

MSVC build fixes
author Chris Cannam
date Tue, 18 Oct 2016 14:03:55 +0100
parents b8a788c9a6f1
children 48e9f538e6e9
line wrap: on
line diff
--- a/base/RealTime.h	Tue Sep 20 09:16:13 2016 +0100
+++ b/base/RealTime.h	Tue Oct 18 14:03:55 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