]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Protect #include <nghttp2/nghttp2.h> with #ifdef HAVE_LIBNGHTTP2
authorMark Andrews <marka@isc.org>
Tue, 24 Aug 2021 03:24:56 +0000 (13:24 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Aug 2021 00:14:50 +0000 (00:14 +0000)
bin/named/main.c

index 565246d77230f7c5164029bf710c1961869b965d..acc2e1310ee670c29064b9a4c0fee14369dfb7ef 100644 (file)
 #ifdef HAVE_ZLIB
 #include <zlib.h>
 #endif /* ifdef HAVE_ZLIB */
+#ifdef HAVE_LIBNGHTTP2
 #include <nghttp2/nghttp2.h>
+#endif
 /*
  * Include header files for database drivers here.
  */