linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2001-06-16 12:47 Konstantin Volckov
  0 siblings, 0 replies; only message in thread
From: Konstantin Volckov @ 2001-06-16 12:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

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.

-- 
Good luck,
Konstantin

[-- Attachment #2: linux-2.4.5-ac15-lcap.patch --]
[-- Type: application/octet-stream, Size: 481 bytes --]

--- linux/include/linux/capability.h_old	Thu Jun 14 13:19:08 2001
+++ linux/include/linux/capability.h	Thu Jun 14 20:46:07 2001
@@ -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
  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-16 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-16 12:47 Konstantin Volckov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).