diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp
index c38650ba37..876181f218 100644
--- a/src/generic/htmllbox.cpp
+++ b/src/generic/htmllbox.cpp
@@ -25,6 +25,7 @@
#endif
#ifndef WX_PRECOMP
+ #include "wx/dcclient.h"
#endif //WX_PRECOMP
#include "wx/htmllbox.h"
diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp
index 7ebf949dac..d5b824c1e1 100644
--- a/src/generic/vlbox.cpp
+++ b/src/generic/vlbox.cpp
@@ -26,6 +26,7 @@
#ifndef WX_PRECOMP
#include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif //WX_PRECOMP
#include "wx/vlbox.h"