Include windows.h on windows build for LARGE_INTEGER
authorTim Mayberry <mojofunk@gmail.com>
Wed, 18 Feb 2015 03:07:27 +0000 (13:07 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 12 Mar 2015 13:03:32 +0000 (23:03 +1000)
This is necessary for a native build using MSYS2 with mingw-w64

libs/ardour/globals.cc

index 63441493591c94ec8cc38011ae17b8be5c886597..89775a586ba1b7c8e301288cb4c4623fd89f3fda 100644 (file)
 #include <errno.h>
 #include <time.h>
 
+#ifdef PLATFORM_WINDOWS
+#include <windows.h> // for LARGE_INTEGER
+#endif
+
 #ifdef WINDOWS_VST_SUPPORT
 #include <fst.h>
 #endif