Hi!
There're a problem in <linux/capatibility.h>. In this file included <linux/fs.h>, but this include is'nt ifdef'ed with __KERNEL__ and (for example) samba can't be compiled with kernel 2.4 headers. Here is the patch, that solve this problem.
Signature · 2 lines
Good luck, Konstantin
include/linux/capability.h renamed from include/linux/capability.h_old +1 -1
@@ -14,7 +14,6 @@#define _LINUX_CAPABILITY_H#include <linux/types.h> -#include <linux/fs.h> /* User-level do most of the mapping between kernel and user capabilities based on the version tag given by the kernel. The
@@ -278,6 +277,7 @@#define CAP_LEASE 28#ifdef __KERNEL__ +#include <linux/fs.h> /* * Bounding set */