Skip to contentSkip to conversation

dnotify compile fix

PATCH New Udo A. Steinberg 1 participant 1 message Jan 20, 2002 Directory notification (dnotify)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

include/linux/dnotify.h Sun Jan 20 13:46:23 2002 renamed from include/linux/dnotify.h Fri Sep 22 23:21:22 2000 +2 -0
diff -Naur -X dontdiff linux-2.5.3-vanilla/include/linux/dnotify.h linux-2.5.3/include/linux/dnotify.h
@@ -4,6 +4,8 @@
  * Copyright 2000 (C) Stephen Rothwell
  */
 
+#include <linux/fs.h>
+
 struct dnotify_struct {
        struct dnotify_struct * dn_next;
        int                     dn_magic;