From 2936459bca7c46efcc67e926d07f35ca0cbb02c9 Mon Sep 17 00:00:00 2001 From: James Crook Date: Sun, 31 Mar 2019 20:24:00 +0100 Subject: [PATCH] Fix Windows Build --- src/AudacityApp.cpp | 4 ++++ src/FFmpeg.h | 4 ++++ src/export/ExportCL.cpp | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index 40f3de326..5fead2959 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -64,6 +64,10 @@ It handles initialization and termination by subclassing wxApp. #include #endif +#if defined(__WXMSW__) +#include // for wxRegKey +#endif + #include "AudacityException.h" #include "AudacityLogger.h" #include "AboutDialog.h" diff --git a/src/FFmpeg.h b/src/FFmpeg.h index d1683cf80..b1c4fabf9 100644 --- a/src/FFmpeg.h +++ b/src/FFmpeg.h @@ -22,6 +22,10 @@ Describes shared object that is used to access FFmpeg libraries. #include "Internat.h" +#if defined(__WXMSW__) +#include // for wxRegKey +#endif + class wxCheckBox; // TODO: Determine whether the libav* headers come from the FFmpeg or libav diff --git a/src/export/ExportCL.cpp b/src/export/ExportCL.cpp index 685747de7..b6bfa381f 100644 --- a/src/export/ExportCL.cpp +++ b/src/export/ExportCL.cpp @@ -24,6 +24,10 @@ #include #include #include +#if defined(__WXMSW__) +#include // for wxRegKey +#endif + #include "../FileNames.h" #include "Export.h"