chiark / gitweb /
unzip: -Werror=implicit-function-declaration
[termux-packages] / packages / unzip / unix-configure.patch
1 diff -u -r ../unzip60/unix/configure ./unix/configure
2 --- ../unzip60/unix/configure   2009-04-16 21:25:12.000000000 +0200
3 +++ ./unix/configure    2017-07-07 02:49:13.106298790 +0200
4 @@ -418,7 +370,9 @@
5  [ $? -ne 0 ] && CFLAGSR="${CFLAGSR} -DNO_ERRNO"
6  
7  echo Check for directory libraries
8  cat > conftest.c << _EOF_
9 +#include <sys/types.h>
10 +#include <dirent.h>
11  int main() { return closedir(opendir(".")); }
12  _EOF_
13