components/proftpd/patches/proftpd-ioctl-s11.patch
changeset 838 e3efa8edf0c1
equal deleted inserted replaced
837:3496f33edfbb 838:e3efa8edf0c1
       
     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