From: Andrew Deason Date: Fri, 3 Feb 2012 22:06:16 +0000 (-0600) Subject: Rx: Add missing rx_packet.h includes X-Git-Tag: upstream/1.8.0_pre1^2~2777 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3a621a8518f96e15a08448fecdfdb0cbce6a02c2;p=packages%2Fo%2Fopenafs.git Rx: Add missing rx_packet.h includes We no longer include rx_packet.h from rx.h, so rx_kcommon.h was not picking up some packet-related definitions. Some files (SOLARIS/rx_knet.c, IRIX/rx_knet.c) were using packet-related defines (e.g. RX_HEADER_SIZE) while just including rx_kcommon.h. Include rx_packet.h in those files to get the relevant definitions. Change-Id: Ib012f295d8e324dd8b38eb0b89933eac392a9583 Reviewed-on: http://gerrit.openafs.org/6670 Reviewed-by: Jeffrey Altman Tested-by: BuildBot --- diff --git a/src/rx/IRIX/rx_knet.c b/src/rx/IRIX/rx_knet.c index 421609d33..1bab1a66e 100644 --- a/src/rx/IRIX/rx_knet.c +++ b/src/rx/IRIX/rx_knet.c @@ -12,6 +12,7 @@ #include "rx/rx_kcommon.h" +#include "rx/rx_packet.h" #include "h/tcp-param.h" /* This must be loaded after proc.h to avoid macro collision with a variable*/ #include "netinet/udp_var.h" diff --git a/src/rx/SOLARIS/rx_knet.c b/src/rx/SOLARIS/rx_knet.c index 0e8dcd29b..85e21ee8a 100644 --- a/src/rx/SOLARIS/rx_knet.c +++ b/src/rx/SOLARIS/rx_knet.c @@ -13,6 +13,7 @@ #ifdef AFS_SUN5_ENV #include "rx/rx_kcommon.h" +#include "rx/rx_packet.h" #include "inet/common.h"