diff --git a/sm5/cciss.cpp b/sm5/cciss.cpp index 21aee176f41f387b2346cca7860db0ecb47a9783..4c58b3aebc9a9c6042fdef98aadacb5cb31daf36 100644 --- a/sm5/cciss.cpp +++ b/sm5/cciss.cpp @@ -5,6 +5,7 @@ #include "config.h" #if defined(linux) +# include <sys/ioctl.h> # ifdef HAVE_LINUX_COMPILER_H # include <linux/compiler.h> # endif diff --git a/sm5/configure.in b/sm5/configure.in index 512a9910fb4319dff86e7cde7f2450166ae83b50..74c9de17003f9e3662589e4df2702a7320a2bcd7 100644 --- a/sm5/configure.in +++ b/sm5/configure.in @@ -1,5 +1,5 @@ # -# $Id: configure.in,v 1.125 2007/04/01 16:49:47 shattered Exp $ +# $Id: configure.in,v 1.126 2007/04/03 18:20:46 shattered Exp $ # dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.50) @@ -7,7 +7,7 @@ AC_INIT(smartmontools, 5.38, smartmontools-support@lists.sourceforge.net) AC_CONFIG_SRCDIR(smartctl.cpp) smartmontools_configure_date=`date -u +"%Y/%m/%d %T %Z"` -smartmontools_cvs_tag=`echo '$Id: configure.in,v 1.125 2007/04/01 16:49:47 shattered Exp $'` +smartmontools_cvs_tag=`echo '$Id: configure.in,v 1.126 2007/04/03 18:20:46 shattered Exp $'` smartmontools_release_date=2006/12/20 smartmontools_release_time="20:37:59 UTC" @@ -137,9 +137,6 @@ AC_SUBST(smartmontools_release_time) dnl if OS not recognized, then use the os_generic modules case "${host}" in - *-*-linux-gnu*) - AC_SUBST([os_deps], ['os_linux.o']) - AC_SUBST([os_libs], ['']) ;; *-*-linux*) AC_SUBST([os_deps], ['os_linux.o cciss.o']) AC_SUBST([os_libs], ['']) ;;