Blame SOURCES/Include-header-for-writev.patch

1f3433
From 3b912a01fa9b483fbbf3ef91df061bc5bc0c0db0 Mon Sep 17 00:00:00 2001
1f3433
From: Robbie Harwood <rharwood@redhat.com>
1f3433
Date: Wed, 17 May 2017 12:21:37 -0400
1f3433
Subject: [PATCH] Include header for writev()
1f3433
1f3433
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
1f3433
Reviewed-by: Simo Sorce <simo@redhat.com>
1f3433
Merges: #186
1f3433
(cherry picked from commit c8c5e8d2b2154d1006633634478a24bfa0b04b4d)
1f3433
---
1f3433
 proxy/src/gp_socket.c | 21 ++++++++++++---------
1f3433
 1 file changed, 12 insertions(+), 9 deletions(-)
1f3433
1f3433
diff --git a/proxy/src/gp_socket.c b/proxy/src/gp_socket.c
1f3433
index 17ecf7c..29b6a44 100644
1f3433
--- a/proxy/src/gp_socket.c
1f3433
+++ b/proxy/src/gp_socket.c
1f3433
@@ -1,19 +1,22 @@
1f3433
 /* Copyright (C) 2011,2015 the GSS-PROXY contributors, see COPYING for license */
1f3433
 
1f3433
 #include "config.h"
1f3433
-#include <stdlib.h>
1f3433
-#include <unistd.h>
1f3433
-#include <fcntl.h>
1f3433
-#include <sys/types.h>
1f3433
-#include <sys/stat.h>
1f3433
-#include <sys/socket.h>
1f3433
-#include <sys/un.h>
1f3433
-#include <errno.h>
1f3433
-#include <netinet/in.h>
1f3433
+
1f3433
 #include "gp_proxy.h"
1f3433
 #include "gp_creds.h"
1f3433
 #include "gp_selinux.h"
1f3433
 
1f3433
+#include <errno.h>
1f3433
+#include <fcntl.h>
1f3433
+#include <netinet/in.h>
1f3433
+#include <stdlib.h>
1f3433
+#include <sys/socket.h>
1f3433
+#include <sys/stat.h>
1f3433
+#include <sys/types.h>
1f3433
+#include <sys/uio.h>
1f3433
+#include <sys/un.h>
1f3433
+#include <unistd.h>
1f3433
+
1f3433
 #define FRAGMENT_BIT (1 << 31)
1f3433
 
1f3433
 struct unix_sock_conn {