added compatibility for kill_fasync()
authorDavid Schleef <ds@schleef.org>
Thu, 1 Mar 2001 05:02:57 +0000 (05:02 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 1 Mar 2001 05:02:57 +0000 (05:02 +0000)
include/linux/fs.h [new file with mode: 0644]

diff --git a/include/linux/fs.h b/include/linux/fs.h
new file mode 100644 (file)
index 0000000..736b592
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * linux/fs.h compatibility header
+ */
+
+#ifndef __COMPAT_LINUX_FS_H_
+#define __COMPAT_LINUX_FS_H_
+
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < 0x020400
+#define KILL_FASYNC(a,b,c)     kill_fasync((a),(c))
+#else
+#define KILL_FASYNC(a,b,c)     kill_fasync(&(a),(b),(c))
+#endif
+
+#include_next <linux/fs.h>
+
+#endif
+