]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
conditionally include <dlfcn.h>
authorMark Andrews <marka@isc.org>
Tue, 23 Apr 2019 23:06:08 +0000 (09:06 +1000)
committerMark Andrews <marka@isc.org>
Tue, 23 Apr 2019 23:31:20 +0000 (09:31 +1000)
(cherry picked from commit eee8084734d73588e76bab97ff7b8341519bf1a9)

bin/named/unix/dlz_dlopen_driver.c

index f9a46ebb77003620a1355465fbf3765bff0decb4..b8bb27dd70a12d1bf8f4762b3e389db14b9052b5 100644 (file)
@@ -17,7 +17,9 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#if HAVE_DLFCN_H
 #include <dlfcn.h>
+#endif
 
 #include <dns/log.h>
 #include <dns/result.h>