From f6d902728292fb557b3bb70b65dee18e67630cde Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 18 Mar 2014 17:43:46 -0500 Subject: [PATCH] FS-6375 ifdef for sun in this case --- libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c index 6931ba13f3..5121435451 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c @@ -359,7 +359,11 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n, int buflen = 0, error; su_sockaddr_t const *su, *su_self; struct hep_hdr hep_header; +#if __sun__ + struct hep_iphdr hep_ipheader = {{{{0}}}}; +#else struct hep_iphdr hep_ipheader = {{0}}; +#endif #if SU_HAVE_IN6 struct hep_ip6hdr hep_ip6header = {{{{0}}}}; #endif