--- 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
@@ -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_