Rx: Add missing rx_packet.h includes
authorAndrew Deason <adeason@sinenomine.net>
Fri, 3 Feb 2012 22:06:16 +0000 (16:06 -0600)
committerDerrick Brashear <shadow@dementix.org>
Tue, 7 Feb 2012 14:41:23 +0000 (06:41 -0800)
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 <jaltman@secure-endpoints.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>

src/rx/IRIX/rx_knet.c
src/rx/SOLARIS/rx_knet.c

index 421609d..1bab1a6 100644 (file)
@@ -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"
index 0e8dcd2..85e21ee 100644 (file)
@@ -13,6 +13,7 @@
 
 #ifdef AFS_SUN5_ENV
 #include "rx/rx_kcommon.h"
+#include "rx/rx_packet.h"
 
 
 #include "inet/common.h"