From 3a621a8518f96e15a08448fecdfdb0cbce6a02c2 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Fri, 3 Feb 2012 16:06:16 -0600 Subject: [PATCH] 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 --- src/rx/IRIX/rx_knet.c | 1 + src/rx/SOLARIS/rx_knet.c | 1 + 2 files changed, 2 insertions(+) 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" -- 2.39.5