From 341f2af7969842fecf352d2c42c95e56a9216546 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Fri, 27 Sep 2013 13:35:07 -0400 Subject: [PATCH] fix linux build error in osi_probe Fix a build error for older versions of linux, introduced by commit 7694f536d3997768b69a635616b0cf24d71a595a (scsi_command_size became scsi_command_size_tbl) Fixes a build error on RHEL/CentOS 5.9; 2.6.18-348.3.1.el5. Change-Id: I7e6f08e7f7cbba47034701e6137eb91fa567dbda Reviewed-on: http://gerrit.openafs.org/10282 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/LINUX/osi_probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_probe.c b/src/afs/LINUX/osi_probe.c index 43cc570871..11a1be39d0 100644 --- a/src/afs/LINUX/osi_probe.c +++ b/src/afs/LINUX/osi_probe.c @@ -53,6 +53,7 @@ # include "afs/param.h" #endif +#include #if defined(ENABLE_LINUX_SYSCALL_PROBING) #include /* early to avoid printf->printk mapping */ #include /* for scsi_command_size */ @@ -64,7 +65,6 @@ # include "afs/sysincludes.h" # include "afsincludes.h" #endif -#include #include #ifdef HAVE_LINUX_CONFIG_H # include