diff --git a/src/base/QXmppPubSubIq.h b/src/base/QXmppPubSubIq.h index 1272a2f5f..1c5cefd8e 100644 --- a/src/base/QXmppPubSubIq.h +++ b/src/base/QXmppPubSubIq.h @@ -27,8 +27,10 @@ #include "QXmppIq.h" #include -// required for compatibility: + +#if QXMPP_DEPRECATED_SINCE(1, 2) #include "QXmppPubSubItem.h" +#endif class QXmppPubSubIqPrivate;