|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/base/e2fsprogs/26-linux-compile-h-usage.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
--- ./misc/filefrag.c.orig 2004-06-26 13:03:48.820773848 +0200
|
|
+++ ./misc/filefrag.c 2004-06-26 13:04:05.359259616 +0200
|
|
@@ -37,6 +37,7 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/vfs.h>
|
|
#include <sys/ioctl.h>
|
|
+#include <linux/compiler.h>
|
|
#include <linux/fd.h>
|
|
|
|
int verbose = 0;
|
|
--- ./lib/ext2fs/getsectsize.c.orig 2004-06-26 13:00:49.114093416 +0200
|
|
+++ ./lib/ext2fs/getsectsize.c 2004-06-26 13:01:01.369230352 +0200
|
|
@@ -23,6 +23,7 @@
|
|
#include <fcntl.h>
|
|
#ifdef HAVE_LINUX_FD_H
|
|
#include <sys/ioctl.h>
|
|
+#include <linux/compiler.h>
|
|
#include <linux/fd.h>
|
|
#endif
|
|
|
|
--- ./lib/ext2fs/getsize.c.orig 2004-06-26 13:00:11.821762712 +0200
|
|
+++ ./lib/ext2fs/getsize.c 2004-06-26 13:00:37.192905712 +0200
|
|
@@ -25,6 +25,7 @@
|
|
#include <fcntl.h>
|
|
#ifdef HAVE_LINUX_FD_H
|
|
#include <sys/ioctl.h>
|
|
+#include <linux/compiler.h>
|
|
#include <linux/fd.h>
|
|
#endif
|
|
#ifdef HAVE_SYS_DISKLABEL_H
|
|
--- ./lib/ext2fs/ismounted.c.orig 2004-06-26 13:01:16.740893504 +0200
|
|
+++ ./lib/ext2fs/ismounted.c 2004-06-26 13:01:28.160157512 +0200
|
|
@@ -18,6 +18,7 @@
|
|
#endif
|
|
#include <fcntl.h>
|
|
#ifdef HAVE_LINUX_FD_H
|
|
+#include <linux/compiler.h>
|
|
#include <linux/fd.h>
|
|
#endif
|
|
#ifdef HAVE_MNTENT_H
|
|
--- ./lib/blkid/getsize.c.orig 2004-06-26 13:02:54.825982304 +0200
|
|
+++ ./lib/blkid/getsize.c 2004-06-26 13:03:06.989133224 +0200
|
|
@@ -22,6 +22,7 @@
|
|
#include <fcntl.h>
|
|
#ifdef HAVE_LINUX_FD_H
|
|
#include <sys/ioctl.h>
|
|
+#include <linux/compiler.h>
|
|
#include <linux/fd.h>
|
|
#endif /* HAVE_LINUX_FD_H */
|
|
#ifdef HAVE_SYS_DISKLABEL_H
|