]> git.armaanb.net Git - opendoas.git/blobdiff - configure
import sys-tree.h from openssh-portable
[opendoas.git] / configure
index d8543218f2e7f2101de3c6fcf5b4326d7f62a57c..c5981a58b295a2aecae4482f0fb31c93584176bd 100755 (executable)
--- a/configure
+++ b/configure
@@ -264,6 +264,16 @@ int main(void) {
 check_func "bsd_auth_h" "$src" && \
        have_bsd_auth_h=1
 
+#
+# Check for sys/tree.h.
+#
+src='
+#include <sys/tree.h>
+int main(void) {
+       return 0;
+}'
+check_func "sys_tree_h" "$src"
+
 #
 # Check for pam_appl.h.
 #