@@ -9,3 +9,18 @@
if (fifo_lockfd < 0) {
rewrite_log("rewrite_subst_maps_fifo(): error creating '%s': %s",
fifo_lockname, strerror(errno));
+--- modules/mod_cap.c.orig 2008-06-29 19:17:01.000000000 +0200
++++ modules/mod_cap.c 2008-06-29 19:19:39.000000000 +0200
+@@ -42,10 +42,8 @@
+ # define _LINUX_BYTEORDER_GENERIC_H
+ # endif
+
+-# ifdef HAVE_LINUX_CAPABILITY_H
+-# include <linux/capability.h>
+-# endif /* HAVE_LINUX_CAPABILITY_H */
+-# include "../lib/libcap/include/sys/capability.h"
++#include <linux/capability.h>
++#include <sys/capability.h>
+
+ /* What are these for? */
+ # undef WNOHANG
|