components/screen/patches/socket.patch
branchs11u3-sru
changeset 7961 58f46f117aca
equal deleted inserted replaced
7958:a40f2d0e1531 7961:58f46f117aca
       
     1 Home brewed.
       
     2 Created for the FOSS evaluation project to get screen built also on S11.3 FCS.
       
     3 Will not be sent upstream.
       
     4 
       
     5 --- screen-4.3.1/socket.c.~1~	2015-09-28 13:59:32.049275138 -0700
       
     6 +++ screen-4.3.1/socket.c	2015-09-28 13:59:47.162984046 -0700
       
     7 @@ -30,6 +30,9 @@
       
     8  #include <sys/types.h>
       
     9  #include <sys/stat.h>
       
    10  #include <fcntl.h>
       
    11 +
       
    12 +#define _XPG4_2
       
    13 +
       
    14  #if !defined(NAMEDPIPE)
       
    15  # include <sys/socket.h>
       
    16  # ifdef _OpenBSD_