mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Protect gnutls headers from clang-format rearranging them
This commit is contained in:
parent
33caed4f17
commit
97fc98901c
@ -4,7 +4,11 @@
|
|||||||
#include <qpdf/DLL.h>
|
#include <qpdf/DLL.h>
|
||||||
#include <qpdf/QPDFCryptoImpl.hh>
|
#include <qpdf/QPDFCryptoImpl.hh>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
// gnutls headers must be last to prevent them from interfering with
|
||||||
|
// other headers. gnutls.h has to be included first.
|
||||||
#include <gnutls/gnutls.h>
|
#include <gnutls/gnutls.h>
|
||||||
|
// This comment prevents clang-format from putting crypto.h before gnutls.h
|
||||||
#include <gnutls/crypto.h>
|
#include <gnutls/crypto.h>
|
||||||
|
|
||||||
class QPDFCrypto_gnutls: public QPDFCryptoImpl
|
class QPDFCrypto_gnutls: public QPDFCryptoImpl
|
||||||
|
Loading…
Reference in New Issue
Block a user