X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FInclude-header-for-writev.patch;fp=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FInclude-header-for-writev.patch;h=1b6c36e34717ecfccdd1632758cf0e6a9ab5c73f;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Include-header-for-writev.patch b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Include-header-for-writev.patch new file mode 100644 index 0000000..1b6c36e --- /dev/null +++ b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Include-header-for-writev.patch @@ -0,0 +1,49 @@ +From 26b5ff6b802b6a24b23ea774b0305f6f2031d4da Mon Sep 17 00:00:00 2001 +From: Robbie Harwood +Date: Wed, 17 May 2017 12:21:37 -0400 +Subject: [PATCH] Include header for writev() + +Signed-off-by: Robbie Harwood +Reviewed-by: Simo Sorce +Merges: #186 +(cherry picked from commit c8c5e8d2b2154d1006633634478a24bfa0b04b4d) +--- + proxy/src/gp_socket.c | 21 ++++++++++++--------- + 1 file changed, 12 insertions(+), 9 deletions(-) + +diff --git a/proxy/src/gp_socket.c b/proxy/src/gp_socket.c +index 17ecf7c..29b6a44 100644 +--- a/proxy/src/gp_socket.c ++++ b/proxy/src/gp_socket.c +@@ -1,19 +1,22 @@ + /* Copyright (C) 2011,2015 the GSS-PROXY contributors, see COPYING for license */ + + #include "config.h" +-#include +-#include +-#include +-#include +-#include +-#include +-#include +-#include +-#include ++ + #include "gp_proxy.h" + #include "gp_creds.h" + #include "gp_selinux.h" + ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ + #define FRAGMENT_BIT (1 << 31) + + struct unix_sock_conn {