components/proftpd/patches/proftpd-ioctl-s11.patch
changeset 1343 a66d36656846
parent 1342 1b53e0a91d50
child 1344 48d2ae15d995
equal deleted inserted replaced
1342:1b53e0a91d50 1343:a66d36656846
     1 --- a/src/inet.c
       
     2 +++ b/src/inet.c
       
     3 @@ -1238,7 +1238,7 @@ conn_t *pr_inet_openrw(pool *p, conn_t *c, pr_netaddr_t *addr, int strm_type,
       
     4    res->mode = CM_OPEN;
       
     5  
       
     6  #if defined(HAVE_STROPTS_H) && defined(I_SRDOPT) && defined(RPROTDIS) && \
       
     7 -    defined(SOLARIS2)
       
     8 +    defined(SOLARIS2) && !defined(SOLARIS2_11)
       
     9    /* This is needed to work around control messages in STREAMS devices
       
    10     * (as on Solaris 9/NFS).
       
    11     */
       
    12