2002-01-20 13:19:00

by Udo A. Steinberg

[permalink] [raw]
Subject: [PATCH] dnotify compile fix


Hi,

The following patch against 2.5.3-pre2 fixes a compile error in dnotify.h.
I'm not sure if this is the preferred way, but it works for me.

diff -Naur -X dontdiff linux-2.5.3-vanilla/include/linux/dnotify.h linux-2.5.3/include/linux/dnotify.h
--- linux-2.5.3-vanilla/include/linux/dnotify.h Fri Sep 22 23:21:22 2000
+++ linux-2.5.3/include/linux/dnotify.h Sun Jan 20 13:46:23 2002
@@ -4,6 +4,8 @@
* Copyright 2000 (C) Stephen Rothwell
*/

+#include <linux/fs.h>
+
struct dnotify_struct {
struct dnotify_struct * dn_next;
int dn_magic;