From bef4012b5e1aea6ac8eb94f261f324c82d8e259c Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Thu, 31 Jul 2003 14:12:36 +0000 Subject: [PATCH] sys/ioctl.h always needed. __LINUX__ no longer works. Use linux instead. (Logical change 1.166) --- libntfs/disk_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libntfs/disk_io.c b/libntfs/disk_io.c index 7e665e7d..9a234198 100644 --- a/libntfs/disk_io.c +++ b/libntfs/disk_io.c @@ -29,8 +29,8 @@ #include #include #include +#include #ifdef HAVE_LINUX_FD_H -# include # include #endif @@ -40,7 +40,7 @@ #include "debug.h" #include "device.h" -#if defined(__LINUX__) && defined(_IO) && !defined(BLKGETSIZE) +#if defined(linux) && defined(_IO) && !defined(BLKGETSIZE) # define BLKGETSIZE _IO(0x12,96) /* Get device size in 512byte blocks. */ #endif