diff --git a/src/gui/kernel/qoffscreensurface_platform.h b/src/gui/kernel/qoffscreensurface_platform.h index f95b606dba0..addba347b9e 100644 --- a/src/gui/kernel/qoffscreensurface_platform.h +++ b/src/gui/kernel/qoffscreensurface_platform.h @@ -44,7 +44,7 @@ #include #if defined(Q_OS_ANDROID) -QT_FORWARD_DECLARE_CLASS(ANativeWindow); +struct ANativeWindow; #endif QT_BEGIN_NAMESPACE