headers patch for 2.2.15

From: Andrew Morgan (morgan@transmeta.com)
Date: Fri May 26 2000 - 14:21:46 EST


Alan,

I just tried rebuilding libcap-1.10, and ran into a kernel header
problem.

I've attended the patch for linux-2.2.15. (The capability.h change is
more aesthetic than urgent.)

Cheers

Andrew

--- linux/include/linux/timex.h~ Tue May 11 10:35:44 1999
+++ linux/include/linux/timex.h Fri May 26 09:54:58 2000
@@ -136,6 +136,10 @@
  * Pick up the architecture specific timex specifications
  */
 #include <asm/timex.h>
+/*
+ * Pick up the definition of timeval
+ */
+#include <linux/time.h>
 
 /* LATCH is used in the interval timer and ftape setup. */
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ) /* For divider */
--- linux/include/linux/capability.h~ Tue Oct 26 17:53:42 1999
+++ linux/include/linux/capability.h Fri May 26 09:55:15 2000
@@ -10,7 +10,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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:16 EST