From: Michael Meffie Date: Fri, 27 Sep 2013 17:35:07 +0000 (-0400) Subject: fix linux build error in osi_probe X-Git-Tag: openafs-stable-1_8_0pre1~985 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=341f2af7969842fecf352d2c42c95e56a9216546 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 --- diff --git a/src/afs/LINUX/osi_probe.c b/src/afs/LINUX/osi_probe.c index 43cc570..11a1be3 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