From 092e2682add174247ae32fc1c3bc10b3c97ae32b Mon Sep 17 00:00:00 2001
From: shattered <shattered@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Tue, 3 Apr 2007 18:20:46 +0000
Subject: [PATCH] Unbreak Linux build.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2387 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/cciss.cpp    | 1 +
 sm5/configure.in | 7 ++-----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/sm5/cciss.cpp b/sm5/cciss.cpp
index 21aee176f..4c58b3aeb 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 512a9910f..74c9de170 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], ['']) ;;
-- 
GitLab