diff options
Diffstat (limited to 'tests/auto/qsslsocket/tst_qsslsocket.cpp')
-rw-r--r-- | tests/auto/qsslsocket/tst_qsslsocket.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/qsslsocket/tst_qsslsocket.cpp b/tests/auto/qsslsocket/tst_qsslsocket.cpp index 8b3ec3d31e..7f613241a0 100644 --- a/tests/auto/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/qsslsocket/tst_qsslsocket.cpp @@ -54,8 +54,10 @@ #include <QNetworkProxy> #include <QAuthenticator> -#include "private/qhostinfo_p.h" -#include "private/qsslsocket_openssl_p.h" +#include <private/qhostinfo_p.h> +#ifndef QT_NO_OPENSSL +# include <private/qsslsocket_openssl_p.h> +#endif #include "../network-settings.h" |