From: David Schleef Date: Thu, 1 Mar 2001 05:02:57 +0000 (+0000) Subject: added compatibility for kill_fasync() X-Git-Tag: r0_7_57~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79cd58704121ce8aa6b849a649ebbc5b80f98688;p=comedi.git added compatibility for kill_fasync() --- diff --git a/include/linux/fs.h b/include/linux/fs.h new file mode 100644 index 00000000..736b592d --- /dev/null +++ b/include/linux/fs.h @@ -0,0 +1,19 @@ +/* + * linux/fs.h compatibility header + */ + +#ifndef __COMPAT_LINUX_FS_H_ +#define __COMPAT_LINUX_FS_H_ + +#include + +#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 + +#endif +