1 From 26b5ff6b802b6a24b23ea774b0305f6f2031d4da Mon Sep 17 00:00:00 2001
2 From: Robbie Harwood <rharwood@redhat.com>
3 Date: Wed, 17 May 2017 12:21:37 -0400
4 Subject: [PATCH] Include header for writev()
6 Signed-off-by: Robbie Harwood <rharwood@redhat.com>
7 Reviewed-by: Simo Sorce <simo@redhat.com>
9 (cherry picked from commit c8c5e8d2b2154d1006633634478a24bfa0b04b4d)
11 proxy/src/gp_socket.c | 21 ++++++++++++---------
12 1 file changed, 12 insertions(+), 9 deletions(-)
14 diff --git a/proxy/src/gp_socket.c b/proxy/src/gp_socket.c
15 index 17ecf7c..29b6a44 100644
16 --- a/proxy/src/gp_socket.c
17 +++ b/proxy/src/gp_socket.c
19 /* Copyright (C) 2011,2015 the GSS-PROXY contributors, see COPYING for license */
25 -#include <sys/types.h>
26 -#include <sys/stat.h>
27 -#include <sys/socket.h>
30 -#include <netinet/in.h>
34 #include "gp_selinux.h"
38 +#include <netinet/in.h>
40 +#include <sys/socket.h>
41 +#include <sys/stat.h>
42 +#include <sys/types.h>
47 #define FRAGMENT_BIT (1 << 31)
49 struct unix_sock_conn {