p7zip: assorted fixes
[oi-userland.git] / components / network / proftpd / patches / 021.statfs-configure_in.patch
blob045fa89cdf0bc8805afe71ea6b5ef15e329ff76a
2 # patch explains configure.in where to find struct statfs
3 # on Solaris (and similar OSes). Patch has been submitted
4 # to upstream:
5 # https://github.com/proftpd/proftpd/pull/705
8 diff --git a/configure.in b/configure.in
9 index 16832b979..a7ccd93e7 100644
10 --- a/configure.in
11 +++ b/configure.in
12 @@ -2056,6 +2050,9 @@ AC_CHECK_MEMBER(struct statfs.f_fstypename,
13 #if HAVE_SYS_VFS_H
14 # include <sys/vfs.h>
15 #endif
16 + #if HAVE_SYS_STATFS_H
17 + # include <sys/statfs.h>
18 + #endif
21 AC_CHECK_MEMBER(struct statfs.f_type,
22 @@ -2073,6 +2070,9 @@ AC_CHECK_MEMBER(struct statfs.f_type,
23 #if HAVE_SYS_VFS_H
24 # include <sys/vfs.h>
25 #endif
26 + #if HAVE_SYS_STATFS_H
27 + # include <sys/statfs.h>
28 + #endif
31 dnl Largefile support