21959838 libsocket tweak needed for screen
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 28 Sep 2015 14:04:54 -0700
changeset 4966 708ed5cfbb35
parent 4965 67c57c9b2e63
child 4967 c997e4903b71
21959838 libsocket tweak needed for screen
components/screen/patches/socket.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/screen/patches/socket.patch	Mon Sep 28 14:04:54 2015 -0700
@@ -0,0 +1,12 @@
+--- screen-4.3.1/socket.c.~1~	2015-09-28 13:59:32.049275138 -0700
++++ screen-4.3.1/socket.c	2015-09-28 13:59:47.162984046 -0700
[email protected]@ -30,6 +30,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++
++#define _XPG4_2
++
+ #if !defined(NAMEDPIPE)
+ # include <sys/socket.h>
+ # ifdef _OpenBSD_