cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / common / identity.h
index baa5bbc..5943667 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2019 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -25,6 +25,8 @@
 #include <QByteArray>
 #include <QDataStream>
 #include <QMetaType>
+#include <QSslCertificate>
+#include <QSslKey>
 #include <QString>
 #include <QStringList>
 
@@ -160,10 +162,6 @@ QDataStream& operator>>(QDataStream& in, Identity& identity);
 
 Q_DECLARE_METATYPE(Identity)
 
-#ifdef HAVE_SSL
-#    include <QSslCertificate>
-#    include <QSslKey>
-
 class COMMON_EXPORT CertManager : public SyncableObject
 {
     Q_OBJECT
@@ -186,5 +184,3 @@ public slots:
     inline virtual void setSslKey(const QByteArray& encoded) { SYNC(ARG(encoded)) }
     inline virtual void setSslCert(const QByteArray& encoded) { SYNC(ARG(encoded)) }
 };
-
-#endif  // HAVE_SSL