From e90ca7727d441a1baf9003c2ccc883a21a6b8ea4 Mon Sep 17 00:00:00 2001 From: fake Date: Tue, 30 Mar 2004 12:35:28 +0000 Subject: [PATCH] fake: disktype: fix compile with 2.6 kernel headers [2004021023444219168] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2618 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/disktype/dont-use-fs.h.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/base/disktype/dont-use-fs.h.patch diff --git a/package/base/disktype/dont-use-fs.h.patch b/package/base/disktype/dont-use-fs.h.patch new file mode 100644 index 000000000..fed79d310 --- /dev/null +++ b/package/base/disktype/dont-use-fs.h.patch @@ -0,0 +1,11 @@ +--- ./file.c.orig 2004-02-10 22:14:33.269214616 +0000 ++++ ./file.c 2004-02-10 22:14:41.536957728 +0000 +@@ -32,7 +32,7 @@ + + #ifdef USE_IOCTL_LINUX + #include +-#include ++#define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */ + #endif + + #ifdef USE_IOCTL_FREEBSD