1--- a/unix/configure 2009-04-16 15:25:12.000000000 -0400
2+++ b/unix/configure 2023-05-30 15:18:33.670321348 -0400
3@@ -408,7 +408,7 @@
4 echo Check for errno declaration
5 cat > conftest.c << _EOF_
6 #include <errno.h>
7-main()
8+int main()
9 {
10 errno = 0;
11 return 0;
12@@ -419,6 +419,8 @@
13
14 echo Check for directory libraries
15 cat > conftest.c << _EOF_
16+#include <sys/types.h>
17+#include <dirent.h>
18 int main() { return closedir(opendir(".")); }
19 _EOF_
20
21