diff --git a/src/html/htmlctrl/webkit/webkit.mm b/src/html/htmlctrl/webkit/webkit.mm
index 7adc98dff0..c5a8192b46 100644
--- a/src/html/htmlctrl/webkit/webkit.mm
+++ b/src/html/htmlctrl/webkit/webkit.mm
@@ -26,7 +26,7 @@
#ifdef __WXCOCOA__
#include "wx/cocoa/autorelease.h"
#else
-#include "wx/mac/uma.h"
+#include "wx/osx/uma.h"
#include
#include
#include