From 97fc98901cc2dcfa3e1903374cb9040e93fd142f Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 4 Apr 2022 08:01:32 -0400 Subject: [PATCH] Protect gnutls headers from clang-format rearranging them --- libqpdf/qpdf/QPDFCrypto_gnutls.hh | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/libqpdf/qpdf/QPDFCrypto_gnutls.hh b/libqpdf/qpdf/QPDFCrypto_gnutls.hh index f17c447..18945cb 100644 --- a/libqpdf/qpdf/QPDFCrypto_gnutls.hh +++ b/libqpdf/qpdf/QPDFCrypto_gnutls.hh @@ -4,7 +4,11 @@ #include #include #include + +// gnutls headers must be last to prevent them from interfering with +// other headers. gnutls.h has to be included first. #include +// This comment prevents clang-format from putting crypto.h before gnutls.h #include class QPDFCrypto_gnutls: public QPDFCryptoImpl -- libgit2 0.21.4